Might as well keep this in the other thread you have open, perhaps related.

On 15 March 2012 09:38, Daniel Gonzalez <[email protected]> wrote:
> I have the following document in a couchdb database:
>
> {
>   "_id": "000013a7-4df6-403b-952c-ed767b61554a",
>   "_rev": "1-54dc1794443105e9d16ba71531dd2850",
>   "tags": [
>       "auto_import"
>   ],
>   "ZZZZZZZZZZZ": "910111",
>   "UUUUUUUUUUUUU": "OOOOOOOOO",
>   "RECEIVING_OPERATOR": "073",
>   "type": "XXXXXXXXXXXXXXXXXXX",
>   "src_file": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
> }
>
> This JSON file takes exactly 319 bytes if saved in my local
> filesystem. My documents are all like this (give or take a couple of
> bytes, since some of the fields have varying lengths).
>
> In my database I have currently around 6 millions documents, and they
> use 15 GB. That gives around 2.5KBytes/document. That means that the
> documents are taking 8 times more space on CouchDB as they would on
> disk.
>
> Why is that?

Reply via email to