Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-224

Improve B-Tree implementation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 0.8
    • None
    • Database Core
    • None
    • Committers Level (Medium to Hard)

    Description

      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.

      Attachments

        Activity

          People

            damienkatz Damien Katz
            jan Jan Lehnardt
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: