Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-1179

Automatically switch from row store to LSM

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None

      For some workloads, it may be difficult to predict in advance how large the data set will grow. Small data sets are handled efficiently by btree, out-of-cache data sets are more efficient with LSM.

      Since WiredTiger uses the btree format for each chunk of an LSM tree, we could start by creating a btree, then once some threshold size is reached, switch to LSM. Applications could specify "type=auto" or similar when creating such a table.

      The transition from btree to LSM would involve existing cursors noticing the change and reconfiguring, so it would require a step like __clsm_enter even before the transition.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: