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

Avoid WriteUnitOfWork in index build collection scan loop

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.2.6, 4.4.0-rc1, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v4.4
    • Execution Team 2020-04-20
    • 0

      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.

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

              Created:
              Updated:
              Resolved: