Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 5899 invoked from network); 1 Feb 2010 21:10:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Feb 2010 21:10:40 -0000 Received: (qmail 40661 invoked by uid 500); 1 Feb 2010 21:10:40 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 40577 invoked by uid 500); 1 Feb 2010 21:10:39 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 40566 invoked by uid 99); 1 Feb 2010 21:10:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 21:10:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 21:10:39 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E379F234C1F2 for ; Mon, 1 Feb 2010 13:10:18 -0800 (PST) Message-ID: <427010381.5351265058618930.JavaMail.jira@brutus.apache.org> Date: Mon, 1 Feb 2010 21:10:18 +0000 (UTC) From: "Jan Lehnardt (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Updated: (COUCHDB-224) Improve B-Tree implementation In-Reply-To: <667486799.1232744759642.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Lehnardt updated COUCHDB-224: --------------------------------- Priority: Major (was: Blocker) Fix Version/s: (was: 0.11) 1.0 bumping to 1.1. for what it's worth, Robert Newson did some practical benchmaks and didn't see any performance issues with uncompacted databases. removing blocker status, too. > Improve B-Tree implementation > ----------------------------- > > Key: COUCHDB-224 > URL: https://issues.apache.org/jira/browse/COUCHDB-224 > Project: CouchDB > Issue Type: Improvement > Components: Database Core > Affects Versions: 0.8 > Reporter: Jan Lehnardt > Assignee: Damien Katz > Fix For: 1.0 > > > Also, the current Btree implementation isn't completely self balanacing. It > misses a balancing condition, partially for efficiency (it's an expensive > balancing operation), and for expediency. It was easier to not implement it and > gets the general case perormance boost. > The thing about this is, the btree code can remain as is if the indexing > compaction just recopies the map values (and back indexes) and recomputes the > reduction values. That's a very simple design, however, if the btree is > completely self balancing, then the btree can be copied on a node by node basis, > instead of a value by value basis, and the reduction values need not be > recomputed all. This will make the compaction significantly faster overall. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.