Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-47407

Avoid WriteUnitOfWork in index build collection scan loop

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.2.6, 4.4.0-rc1, 4.7.0
    • None
    • None
    • None
    • Fully Compatible
    • v4.4
    • Execution Team 2020-04-20
    • 0

    Description

      This WUOW is not necessary for hybrid index builds because we insert all keys into the external sorter, which is not part of the storage engine.

      We could improve index build performance by not having to open and close a storage transaction every iteration.

      This fixes a perf regression introduced by SERVER-44577.

      Attachments

        Activity

          People

            louis.williams@mongodb.com Louis Williams
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: