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

Improve startup time when there are tens of thousands of collections/indexes on WiredTiger

    • Fully Compatible
    • v4.2, v4.0, v3.6
    • Execution Team 2019-09-23, Execution Team 2019-10-07
    • 15

      mongod opens every collection and index upon startup to clear plan cache and ensure settings are correct for the current version. When there are tens or hundreds of thousands of collections and index (1 file per collection/index) this can take minutes to complete, even on very fast storage. Consider an option to do this in parallel to improve startup time.

      Original Description
      When starting the mongod service in a replicaset with ~50GB of data on extremely high-performance disk, it's taking approximately 2 minutes before the mongo database becomes available. This seems like a large regression from the 2.8 and 3.0 days.

            Assignee:
            louis.williams@mongodb.com Louis Williams
            Reporter:
            sallgeud Chad Kreimendahl
            Votes:
            10 Vote for this issue
            Watchers:
            28 Start watching this issue

              Created:
              Updated:
              Resolved: