couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick North <>
Subject Replicated database size
Date Tue, 15 May 2012 12:55:09 GMT
I'm curious about the size of replicated CouchDb databases in comparison to
each other. I have four databases, each with pull replications from the
other three, but they report quite different data sizes. Two of them say:


While the other two say this - note the difference in data_size:


(There is some discrepancy in the doc_count because new documents are
being posted continuously, and some went in in between fetching stats
for the various instances.) Other possibly relevant information:

   - All the replications appear to be in working order so I don't
believe there is a backlog of documents waiting to be replicated.
   - The database has just one design view and whether or not it has
been queried does not seem to make any difference to whether the
database is "large" or "small".
   - Compaction makes little difference, in that the "large" instances
always remain much larger than the "small" ones.
   - Everything is running CouchDb 1.2 on Windows: the "small"
instances on Windows 7 and Windows Vista, and the "large" ones on
Windows Server 2008.
   - File_compression is set to "snappy" in all cases and there are no
attachments anywhere.

Can anyone suggest what might be going on here? My best guess is that
it's to do with file compression on Windows Server but that is a
guess, so I'm intending to do some experimentation with the other file
compression options. I'd be grateful for any thoughts, as I'm planning
out disk requirements for a system with ten times the capacity of the
current one, and would very much like to be do that with some
certainty about file sizes. Thanks in advance for any help,

Nick North

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