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

Mongorestore should allow doing all index builds only at the end

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      Currently, each collection is restored in parallel, and indexes are created for each collection as they finish.
      With enough collections and background indexes, this will result in the server working on building multiple indexes in parallel along with handling the inserts at the same time.
      Waiting until all the inserts are done before triggering the index builds will likely speed it up more.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mikeo@mongodb.com Michael O'Brien
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: