couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Cohen <nco...@ucsd.edu>
Subject size of documents
Date Tue, 10 Nov 2009 17:04:56 GMT
I've been lurking on the list for awhile -- I like the design of  
couchdb and am taking a look to see if I can use it in any upcoming  
projects.

I made a little couchdbhandler for python's logging module and started  
one of my applications up using it -- I let it run for a few minutes  
and was astonished at the size of the database.  With 278 documents  
(all like the example shown below) futon reports the db takes up 1.0 MB.

There's no design document defined for this database.  Is this normal  
or is there something wrong with my setup?  I'm running CouchDB  
0.11.0b832392 under snow leopard.

the documents all look something like this:

Thanks,
Ben

{
    "_id": "fe857f41334f67ba05d5ea8fec16b0f9",
    "_rev": "1-4ae3ce304596d86f7838356b6627b3d8",
    "msecs": 401.2179374694824,
    "args": [
    ],
    "name": "paramiko.transport",
    "thread": -1340583936,
    "created": 1257872166.401218,
    "process": 24073,
    "threadName": "Thread-1",
    "module": "transport",
    "filename": "transport.py",
    "levelno": 20,
    "processName": "MainProcess",
    "pathname": "/Users/ncohen/pydev-2.6/lib/python2.6/site-packages/ 
paramiko/transport.py",
    "lineno": 1386,
    "exc_text": null,
    "exc_info": null,
    "funcName": "_log",
    "relativeCreated": 288402.2789001465,
    "levelname": "INFO",
    "msg": "Secsh channel 79 opened."
}

Ben Cohen
Programmer/Analyst (STS)
Scripps Institution of Oceanography
ncohen@ucsd.edu


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message