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

Discard obsolete updates as part of re-instantiating updates based on the lookaside table.

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.5.12, WT3.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage 2017-08-21

      While looking at WT-3479, it occurred to me we could discard obsolete updates as part of re-instantiating updates based on the lookaside table.

      We currently make an all-or-nothing decision when loading updates from the LAS table: if the on-page value is globally visible, we ignore all of the LAS table updates for that value. If the on-page value isn't globally visible, we load all the LAS table updates for that value. However, there's a middle ground: we could call __wt_update_obsolete_check() on the LAS table updates and discard any of them that aren't necessary.

      There are probably workloads where it would help, and given that using the lookaside table implies we're already experiencing cache pressure, it might be a change worth making.

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: