Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 40574 invoked from network); 8 Apr 2011 10:50:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Apr 2011 10:50:27 -0000 Received: (qmail 84348 invoked by uid 500); 8 Apr 2011 10:50:25 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 84305 invoked by uid 500); 8 Apr 2011 10:50:25 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 84297 invoked by uid 99); 8 Apr 2011 10:50:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Apr 2011 10:50:25 +0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=FREEMAIL_FROM,FS_REPLICA,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of fdmanana@gmail.com designates 209.85.210.52 as permitted sender) Received: from [209.85.210.52] (HELO mail-pz0-f52.google.com) (209.85.210.52) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Apr 2011 10:50:20 +0000 Received: by pzk12 with SMTP id 12so2061924pzk.11 for ; Fri, 08 Apr 2011 03:50:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=7i3w963YYeeLYhmZg57lvWLsO/hlrc/YRhIYe1OIAPY=; b=Wn8YeizDXIgmib7YP6UIVnHF5IwjKUJ2iFYea42OSUcWh6sf9aH/K/OtGmLmshtOQS dqP8TCzwjJecwj8uq+2HtZ9tO222g3raGapbvkEKjW2Y2zqKdmyy2jMCKQopKcGiyksS HUINbfv3UbA6KjS019uymj7kJ1GrEjxj8+4uE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=uEeBe28Z+S+wZcvsLu90iJwBiOSfQZtssr6SitGbELCU5GKGMhJxqkVdFiFXyLSwrc LwZWWtYzPiHik+DGA3GLlHVyJeWyJsDST4PxEv6fOVIC1YIIGafrPVtukuXiMUKSs4sJ MoNz1sZwiEjSAmgR8ZDdEDxK8bfk8nHjckwm0= MIME-Version: 1.0 Received: by 10.142.250.15 with SMTP id x15mr1807157wfh.187.1302259800156; Fri, 08 Apr 2011 03:50:00 -0700 (PDT) Sender: fdmanana@gmail.com Received: by 10.68.64.227 with HTTP; Fri, 8 Apr 2011 03:50:00 -0700 (PDT) In-Reply-To: References: Date: Fri, 8 Apr 2011 11:50:00 +0100 X-Google-Sender-Auth: gNWuDoe-wPYCMYTsaC2UZWXNZTg Message-ID: Subject: Re: Couch Replication: slave on-disk size bloat From: Filipe David Manana To: user@couchdb.apache.org Cc: steve.webb@beatport.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Do you have many and/or large attachments? On Thu, Apr 7, 2011 at 10:24 PM, wrote: > Hello there. > > New couch admin here. > > I've got two couchdb machines that are not being written to. > > I cleaned off the slave, then replicated and compacted the DBs on the sla= ve > and the slave DB size on-disk is *way* more than on the master. > > Also, we've found that when the slaves are being actively written > (replicated) to, over time, they grow > 10x the size of the master's file > size. > > Master: > > -rw-r--r-- =C2=A01 couchdb couchdb =C2=A0 =C2=A0 =C2=A020565 Apr =C2=A07 = 12:02 api-keys.couch > -rw-r--r-- =C2=A01 couchdb couchdb 2414678118 Apr =C2=A07 11:41 similar-t= racks.couch > -rw-r--r-- =C2=A01 couchdb couchdb =C2=A0851714150 Apr =C2=A07 11:52 site= map.couch > drwxr-xr-x =C2=A02 couchdb couchdb =C2=A0 =C2=A0 =C2=A0 4096 Feb 15 01:10= .sitemap_design > -rw-r--r-- =C2=A01 couchdb couchdb =C2=A0 76939362 Apr =C2=A07 11:27 top-= downloads.couch > -rw-r--r-- =C2=A01 couchdb couchdb =C2=A0268513382 Apr =C2=A07 11:30 > users-also-bought.couch > > Slave (after delete, replication and compaction): > > -rw-r--r-- =C2=A01 couchdb couchdb =C2=A0 =C2=A0 =C2=A0 8280 Apr =C2=A07 = 12:02 api-keys.couch > -rw-r--r-- =C2=A01 couchdb couchdb 5261164653 Apr =C2=A07 14:16 similar-t= racks.couch > -rw-r--r-- =C2=A01 couchdb couchdb =C2=A0860319850 Apr =C2=A07 13:58 site= map.couch > -rw-r--r-- =C2=A01 couchdb couchdb =C2=A0122777700 Apr =C2=A07 13:50 top-= downloads.couch > -rw-r--r-- =C2=A01 couchdb couchdb =C2=A0285810794 Apr =C2=A07 13:52 > users-also-bought.couch > > Q1: Is this normal? > Q2: Is there a way to fix this or turn off whatever is turned on that cau= ses > this? > > - Steve Webb > > -- > 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 > --=20 Filipe David Manana, fdmanana@gmail.com, fdmanana@apache.org "Reasonable men adapt themselves to the world. =C2=A0Unreasonable men adapt the world to themselves. =C2=A0That's why all progress depends on unreasonable men."