Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 89638 invoked from network); 13 May 2010 18:24:20 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 May 2010 18:24:20 -0000 Received: (qmail 12470 invoked by uid 500); 13 May 2010 18:24:19 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 12426 invoked by uid 500); 13 May 2010 18:24:19 -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 12418 invoked by uid 99); 13 May 2010 18:24:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 May 2010 18:24:19 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [212.227.17.9] (HELO moutng.kundenserver.de) (212.227.17.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 May 2010 18:24:11 +0000 Received: from [192.168.0.127] (xdsl-89-0-128-60.netcologne.de [89.0.128.60]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0LnX10-1NfFKF3jjS-00hbUn; Thu, 13 May 2010 20:23:50 +0200 Message-ID: <4BEC43B3.8070807@digitalgott.de> Date: Thu, 13 May 2010 20:23:47 +0200 From: "c.Kleinhuis" Reply-To: ck@digitalgott.de User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: user@couchdb.apache.org Subject: Re: large attachments/huge databases ?` References: <4FD426D8-F807-4FCE-8B98-36B9B0B2C058@googlemail.com> <4BEBCDAB.4070708@digitalgott.de> <20100513160136.GB9782@seblaptop> <4BEC2A4C.4090303@digitalgott.de> <2C9F0F2E-F87B-4BC7-B55D-7D7A2E965428@googlemail.com> In-Reply-To: <2C9F0F2E-F87B-4BC7-B55D-7D7A2E965428@googlemail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1/ZKYepp8KNigLdAzUTP1a56+ch2S03zFxxmQt /IjJdsv16M/OK72YXEql6Yzz5Ee1dLT44zGGxObMA9nP1LvG6Y orn5lPyWkOJ7SDfUW8rzI6fqzYytnYH >> -he read that indexing is significantly higher than e.g. mysql - >> my answer was that indexing is not affecting performance because it is a >> one time action .... >> > > Right, once indices are generated, they are updated incrementally and very fast on access. > > ok, sounds good >> -another point is general performance of about e.g. 200.000 documents in a single >> database ... how is disk usage when maintaining versioning of each document ? >> -can the versioning be deactivated or deleted ?! >> > > Again, there is no "versioning" of documents - at least not what most people expect from document versioning. There are only two reasons why couchdb keep "versions" of documents: MVCC and the append-only principle. > > You need to compact your database on a regular bases (depending on your updates to documents) and no, there is no way to completely disable "versioning" (and it wouldn't make any sense to do that). The append-only approach leads automatically to higher disk usage compared to in-place updates, thus you need to cleanup your database (run compaction) but you win robustness and there is no fixup phase needed in case of hardware failure e.g. > > in fact i would like to use the versioning exthausive, because each version of a task status should be accessible, can i access older versions of a document easily ?! the versioning feature is quite cool, because i would have to implement it using hibernate/spring otherwise ... > you're welcome :) thx ck