couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From steve.w...@beatport.com
Subject Re: Couch Replication: slave on-disk size bloat
Date Fri, 08 Apr 2011 15:48:09 GMT
> Yes.
> The current replicator in 1.0.x and 1.1 (yet to be released), when
> replicating a new revision of a document with attachments, it
> replicates all the attachments, not just the attachments missing on
> the target. So you might end up with the same attachments several
> times in the target database file (compaction will fix this of
> course).
>
> The new replicator, in trunk only, doesn't have this behaviour - it
> replicates only the missing attachments.

But I did do compaction and still had pretty huge files on the slave. 
Could it be something else that's causing this?

>>>> Master:
>>>>
>>>> -rw-r--r--  1 couchdb couchdb      20565 Apr  7 12:02 api-keys.couch
>>>> -rw-r--r--  1 couchdb couchdb 2414678118 Apr  7 11:41
>>>> similar-tracks.couch
>>>> -rw-r--r--  1 couchdb couchdb  851714150 Apr  7 11:52 sitemap.couch
>>>> drwxr-xr-x  2 couchdb couchdb       4096 Feb 15 01:10 .sitemap_design
>>>> -rw-r--r--  1 couchdb couchdb   76939362 Apr  7 11:27 top-downloads.couch
>>>> -rw-r--r--  1 couchdb couchdb  268513382 Apr  7 11:30
>>>> users-also-bought.couch
>>>>
>>>> Slave (after delete, replication and compaction):
>>>>
>>>> -rw-r--r--  1 couchdb couchdb       8280 Apr  7 12:02 api-keys.couch
>>>> -rw-r--r--  1 couchdb couchdb 5261164653 Apr  7 14:16
>>>> similar-tracks.couch
>>>> -rw-r--r--  1 couchdb couchdb  860319850 Apr  7 13:58 sitemap.couch
>>>> -rw-r--r--  1 couchdb couchdb  122777700 Apr  7 13:50 top-downloads.couch
>>>> -rw-r--r--  1 couchdb couchdb  285810794 Apr  7 13:52
>>>> users-also-bought.couch

- Steve

-- 
Steve Webb | System Administrator
Beatport | Play With Music
------------------------------------------
2399 Blake Street, Suite 170
Denver, Colorado USA 80205
tel: +1.720.932.9103
fax: +1.720.932.9104
noc: +1.303.565.2710
mobile: +1.303.564.4269
Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message