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

Avoid reading lookaside pages in truncate fast path

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.4, 3.7.3, WT3.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage 2018-01-15, Storage 2018-01-29, Storage 2018-02-12, Storage 2018-02-26
    • v3.6

      When truncating data from a file that has associated lookaside entries, the optimization to avoid reading pages in for fast truncate is not implemented - which results in reading a lot of pages in cache along with their lookaside entries (thus they will be read in as dirty). We could avoid reading those pages by checking the visbility in the WT_PAGE_LOOKASIDE structure.

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: