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

Avoid reading lookaside pages in truncate fast path

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                keith.bostic Keith Bostic
                Reporter:
                alexander.gorrod Alexander Gorrod
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: