Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 85829 invoked from network); 23 Jan 2009 17:05:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jan 2009 17:05:18 -0000 Received: (qmail 68928 invoked by uid 500); 23 Jan 2009 17:05:13 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 68861 invoked by uid 500); 23 Jan 2009 17:05:12 -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 68830 invoked by uid 99); 23 Jan 2009 17:05:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jan 2009 09:05:12 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kowsik@gmail.com designates 209.85.221.21 as permitted sender) Received: from [209.85.221.21] (HELO mail-qy0-f21.google.com) (209.85.221.21) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jan 2009 17:05:03 +0000 Received: by qyk14 with SMTP id 14so5735180qyk.11 for ; Fri, 23 Jan 2009 09:04:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=GKIV+cxJwl9+HOPMG50mUotuDHZWI2J9Kppo2CRjx5U=; b=fRj/62ZPxBvaet+qN4WXc0JrCc2xGABFq0HH68vUSXDwlGApw0zvBoBGdvA2FBCITX aCD4z/MOaTSq5DdSY6fFCSkLCochaOgkZ2MFFyLvQ9Jkwy96QdImbFMtZULIPBlEWpJk ttuIoblGZcotOVyua97uqkiXVCgjYOaOjUUrg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=Wy2bNVPbzBlJI17Ls1Hi+A+bPyezMl8DZ1/rjBI407tjpjm2Gm89hLfYsCPpFJ9jg8 KAtI8mmBaUAOPcgVHeavaf001j+KXixfIxiV66dUjXkISDgZFj+0+I/bxRNvS6DDECm5 xTzcXGAltHDXImW85IbRKJG8sVTw6bdmX6Hk8= MIME-Version: 1.0 Received: by 10.214.184.14 with SMTP id h14mr1140473qaf.162.1232730272506; Fri, 23 Jan 2009 09:04:32 -0800 (PST) Date: Fri, 23 Jan 2009 09:04:32 -0800 Message-ID: <7db9abd30901230904h17fc60c9i9c84a83396041b5@mail.gmail.com> Subject: Compaction... From: kowsik To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org For the most part, I never have to look at Couch once its running since the index generation, id generation, incremental indexing, document updates all __just__ work. For pcapr.net, since the middle tier is Helma (also Javascript), new views in the source are automatically sync'd directly to couch. I can almost completely relax, except...compaction. Is it possible to do some kind of automatic compaction, similar to auto growing hash tables based on collisions/density or garbage collection? The best place to do this really is the db itself. With this I never have to worry about file sizes growing indefinitely or having to find the best time to compact the database. This might mean, though, that compaction has higher priority than writes. I guess it's a trade off. Thoughts? K.