couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Gonzalez <>
Subject Size of couchdb documents
Date Thu, 15 Mar 2012 08:38:48 GMT
I have the following document in a couchdb database:

   "_id": "000013a7-4df6-403b-952c-ed767b61554a",
   "_rev": "1-54dc1794443105e9d16ba71531dd2850",
   "tags": [
   "ZZZZZZZZZZZ": "910111",

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

Why is that?

View raw message