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

storing primary data in the secondary

    • Type: Icon: Task Task
    • Resolution: Done
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      Some engines store a copy (or part of a copy) of the primary data item in the secondary to speed the use of a secondary index, avoiding subsequent lookup in the primary.

      In Berkeley DB, an "ordered" lookup when walking a secondary becomes a "random" lookup on the primary in order to return the primary's data item, resulting in a colder cache and more deadlocks. By storing a copy of the primary's data in the secondary, we can avoid the second lookup.

            Assignee:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Reporter:
            wiredtiger WiredTiger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: