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

Remove sizeStorer recalculations at startup with WiredTiger

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.5, 3.1.5
    • Affects Version/s: 3.0.0
    • Component/s: WiredTiger
    • None
    • Minor Change
    • Quint Iteration 5

      When the WiredTiger record store is initialized, it scans every collection and recalculates the total record size and count if the number of documents is less than 10,000. This extra check is not necessary and can very negatively impact startup time.

      The documentation should be updated to reflect that the count and size stats may not be 100% accurate in the face of unclean shutdowns. It is possible to reset the sizeStorer by running the validate command.

            Assignee:
            dan@mongodb.com Daniel Pasette (Inactive)
            Reporter:
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: