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 7DB1395C1 for ; Fri, 23 Dec 2011 01:01:26 +0000 (UTC) Received: (qmail 67386 invoked by uid 500); 23 Dec 2011 01:01:24 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 67345 invoked by uid 500); 23 Dec 2011 01:01:24 -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 67337 invoked by uid 99); 23 Dec 2011 01:01:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Dec 2011 01:01:24 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jens@couchbase.com designates 206.225.164.32 as permitted sender) Received: from [206.225.164.32] (HELO EXHUB020-5.exch020.serverdata.net) (206.225.164.32) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Dec 2011 01:01:16 +0000 Received: from EXVMBX020-1.exch020.serverdata.net ([169.254.4.147]) by EXHUB020-5.exch020.serverdata.net ([206.225.164.32]) with mapi; Thu, 22 Dec 2011 17:00:54 -0800 From: Jens Alfke To: "user@couchdb.apache.org" Date: Thu, 22 Dec 2011 17:00:52 -0800 Subject: Re: Database size seems off even after compaction runs. Thread-Topic: Database size seems off even after compaction runs. Thread-Index: AczBDlIglWp/wbKHTU6Wxw74AekPQg== Message-ID: <83E168FD-649E-44D1-B2B1-3E9AE728CE98@couchbase.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_83E168FD649E44D1B2B13E9AE728CE98couchbasecom_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_83E168FD649E44D1B2B13E9AE728CE98couchbasecom_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable On Dec 22, 2011, at 1:44 PM, Chris Stockton wrote: Okay, so this catches me a bit off guard, always thought compaction cleaned those up. Compaction removes old revisions=92 and deleted documents=92 contents, but = their revision histories are still there. Those should be pretty small, tho= ugh, since they=92re just trees of revision IDs. (Unless you did delete the docs by just setting a =93_deleted=94 attribute?= I don=92t know what the behavior of that would be; sounds like it doesn=92= t actually delete the document from the database, in which case maybe the l= ast revision data does get left behind.) =97Jens --_000_83E168FD649E44D1B2B13E9AE728CE98couchbasecom_--