Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-639

Benchmark non-blocking index builds in mongorestore

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 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 Unassigned
            Reporter:
            kyle.erf Kyle Erf
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: