Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 2464 invoked from network); 9 Nov 2008 01:31:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Nov 2008 01:31:41 -0000 Received: (qmail 36771 invoked by uid 500); 9 Nov 2008 01:31:48 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 36347 invoked by uid 500); 9 Nov 2008 01:31:47 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 36326 invoked by uid 99); 9 Nov 2008 01:31:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Nov 2008 17:31:47 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ben324@gmail.com designates 209.85.128.187 as permitted sender) Received: from [209.85.128.187] (HELO fk-out-0910.google.com) (209.85.128.187) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Nov 2008 01:30:29 +0000 Received: by fk-out-0910.google.com with SMTP id 19so2390813fkr.12 for ; Sat, 08 Nov 2008 17:31:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=UeyQC54T4TM+BI2B6QugMdNleyLkutcEAkOl1f816EM=; b=TS1fRDjGpdoyiXYn48enh99/hvLnrN+5MoTY0UDaj38Qj3/1a2d//ya+0ltZkjze2O tZCIlT2MW/Q5kiVS1Y6b0ldVkM/SVSTiddzP2dc1gCZunN8SkT8dJA2isXp2Vi4Fo4uN UxTixFCryAIwaJohzwaJ5G4rKQkSY4pfmoSD4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=gDZjWVauU7/D38TP/lcIEyTCVZ8T1m9B60ljOxW4a5JqKiWyIDV3Ak6LSqe71uRnA8 lr0UhqcdAF7qr90v6vkI/usmw2Qr6JlXixqXVo4Z1Ye7UqsZnHo53CFc+kAtE5dLXq29 FcKW9hV+FXP4bVD/xMlxxy3DG7+mSG2PE++yk= Received: by 10.181.58.9 with SMTP id l9mr1584313bkk.98.1226194261059; Sat, 08 Nov 2008 17:31:01 -0800 (PST) Received: by 10.181.50.16 with HTTP; Sat, 8 Nov 2008 17:31:00 -0800 (PST) Message-ID: Date: Sat, 8 Nov 2008 20:31:00 -0500 From: "Ben Browning" To: couchdb-user@incubator.apache.org Subject: What Factors Influence Compaction Time? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org How does compaction time change as my database grows? Is it a function of database size, number of changes since the last compaction, or something else? Also, if I have many write instances all replicating their changes to a master read instance, how will this impact compaction? Does replication effectively perform bulk updates to reduce the need for compaction on the read node? If not, does the same warning about compacting a database under high write load also apply to a database under high replication load (with changes being replicated to this database)? I'm designing a system that, other than being write-heavy, is a great fit for CouchDB. I'm just trying to figure out how to architect things to work best with lots of writes. Thanks, Ben