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

Freeing obsolete update lists can be slow during checkpoints

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.6.0
    • Component/s: None
    • Labels:
      None

      Description

      At the end of update_serial we check for obsolete update structures. If we can't evict b/c of a checkpoint and that list grows large, this is wasted work inside a transaction.

      Updates shouldn't be blocked, that is, only a single thread at a time is doing the check for obsolete update structures.

      It would be pretty easy to turn off the check for obsolete update structures when checkpoint is running on this file; let's explore ways to tighten it down further using the checkpoint generation and other transactional information.

        Attachments

          Activity

            People

            Assignee:
            michael.cahill Michael Cahill
            Reporter:
            michael.cahill Michael Cahill
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: