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

Avoid checking all updates to decide the need for save update

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 5
    • 2023-04-04 Bibbidi-Bobbidi-Boo, 2023-04-18 Leviosa Not Leviosa, 2023-05-02 StorEng Bug Bash

      As part of the WT-10449 fix, we avoid saving the saved updates when there is no need to insert them into the history store, but this fix is causing some performance regression due to the newly added condition of checking all the updates in the update chain after the on-page update are valid or not before saving them to the saved update structure.

      To fix the performance regression, check for only one update that exists after the on-page update instead of validating all the updates in the update chain before saving them to the saved update structure.

        1. reconcile_perf.png
          reconcile_perf.png
          495 kB
        2. rec_page_splits.png
          rec_page_splits.png
          89 kB
        3. rec_splits_with_percentage.png
          rec_splits_with_percentage.png
          114 kB

            Assignee:
            haribabu.kommi@mongodb.com Haribabu Kommi
            Reporter:
            haribabu.kommi@mongodb.com Haribabu Kommi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: