Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5F427111A7 for ; Tue, 22 Apr 2014 13:47:06 +0000 (UTC) Received: (qmail 14807 invoked by uid 500); 22 Apr 2014 13:47:04 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 14720 invoked by uid 500); 22 Apr 2014 13:47:04 -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 14711 invoked by uid 99); 22 Apr 2014 13:47:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Apr 2014 13:47:04 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bcitrin@gmail.com designates 209.85.220.46 as permitted sender) Received: from [209.85.220.46] (HELO mail-pa0-f46.google.com) (209.85.220.46) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Apr 2014 13:46:59 +0000 Received: by mail-pa0-f46.google.com with SMTP id kp14so1010703pab.33 for ; Tue, 22 Apr 2014 06:46:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=azgTXfnr+HcjLAHN/2hFlGONFHKogxyKojAHHr22Pkg=; b=u8aErPvKtd55Wgoy2hD0exC5UfMc9QnTs6PuOYBZr6D/Bya4cP8rwts+qSz8Ss5p4p MueMHef1wGHhsgzzxkzWZ5fkzrvsWQEAtrH4n8RlNyspC6XuHblbNNEqWCysmXFSQked pAM0/GXIL3PHL+GH14nSa6XpzZwz9x/IfqMOtvHzsjgRLiqlgaCdr4NLW/gRFUtIIsge b2uQARjBoWxIrnl/iuQ1mx/en/cD9YsTAnJ6A0q9rYmsJc4j/XPwFGTv8oXhYPcOIxh2 MM/RFMXkEb/eyLsr6EWj171n1WJ9m4CJNPzc2egQ8+271FA6XBFMbhnvJ2C2ti5bdMy0 jB/A== MIME-Version: 1.0 X-Received: by 10.66.250.161 with SMTP id zd1mr9477321pac.136.1398174398692; Tue, 22 Apr 2014 06:46:38 -0700 (PDT) Received: by 10.70.93.228 with HTTP; Tue, 22 Apr 2014 06:46:38 -0700 (PDT) In-Reply-To: <4721C67B-94F1-4E47-BC9C-90AAFEDA6340@gmail.com> References: <4721C67B-94F1-4E47-BC9C-90AAFEDA6340@gmail.com> Date: Tue, 22 Apr 2014 16:46:38 +0300 Message-ID: Subject: Re: Compaction of a database with the same number of documents is getting slower over time From: Boaz Citrin To: "user@couchdb.apache.org" Content-Type: multipart/alternative; boundary=047d7b15ac9f5e41ff04f7a1d847 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b15ac9f5e41ff04f7a1d847 Content-Type: text/plain; charset=UTF-8 Yes, the documents change quickly, Many deletions and insertions, but total number don't change that much. On Tue, Apr 22, 2014 at 4:41 PM, Adam Kocoloski wrote: > To first order it shouldn't be the case. > > Is the number of deleted documents growing with time? That'd have an > impact. > > Adam > > > On Apr 22, 2014, at 8:06 AM, Boaz Citrin wrote: > > > > Hello, > > > > Our database contains more or less the same number of documents, however > > the documents themselves change frequently. > > I would expect that compaction time will be the same, but I see that over > > time it takes longer to compact the database. > > > > Why is it so? Any way to overcome this? > > > > Thanks, > > > > Boaz > --047d7b15ac9f5e41ff04f7a1d847--