Benchmark non-blocking index builds in mongorestore

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: mongorestore
    • None

      During parallel mongorestore jobs, a worker routine will block while it waits for a createIndexes command to return. This can take a very long time for many-gigabyte collections. We should explore the performance hit we would get by allowing a new collection to restore while we are still waiting for index builds from another collection.

      I'd wager we could get some real throughput increase by allowing a couple of index builds to happen as we pick up a new collection to restore. This will likely vary by storage engine, but it is worth exploring.

              Assignee:
              Unassigned
              Reporter:
              Kyle Erf (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: