You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Ben Cohen <nc...@ucsd.edu> on 2009/11/10 18:04:56 UTC
size of documents
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
Re: size of documents
Posted by Ben Cohen <co...@gmail.com>.
Ah, it went down to 100k. Still bigger than plaintext but not by an
order of magnitude. :)
Thanks,
Ben
On Nov 10, 2009, at 5:10 PM, Robert Newson wrote:
> see how much smaller the database gets once you compact it. :)
>
> On Tue, Nov 10, 2009 at 5:04 PM, Ben Cohen <nc...@ucsd.edu> wrote:
>> 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
>>
>>
Re: size of documents
Posted by Robert Newson <ro...@gmail.com>.
see how much smaller the database gets once you compact it. :)
On Tue, Nov 10, 2009 at 5:04 PM, Ben Cohen <nc...@ucsd.edu> wrote:
> 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
>
>