Background index builds should batch collection scan reads and inserts into the index

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage NYC 2019-01-14, Storage NYC 2019-01-28
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      For every single document in a collection, background index builds retrieve a document, call saveState() (which resets the cursor) and restoreState() (which repositions it) after every single insert.

      It would be more efficient to batch reads on the collection and inserts into the index so the read cursors are reset less often.

      If we want to take advantage of read_once cursors, this will work around having the read the same page into cache when there are multiple documents in each page.

              Assignee:
              Louis Williams
              Reporter:
              Louis Williams
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: