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

Add serverStatus() counter for wasteful replanning

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization

      Replanning happens when cached plan is found ineffective during a trial run and results in a multi-planning, which is expensive.

      It's possible that replanning ends up selecting the same plan as the one that was discarded from the plan cache when replanning was triggered. In this sense, the replanning process was "wasteful". This ticket suggests adding a serverStatus counter which counts the number of wasteful replanning events for diagnostic purposes.

            Assignee:
            Unassigned Unassigned
            Reporter:
            ivan.fefer@mongodb.com Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: