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

Add 'stateChanges' to $planCacheStats

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Diagnostics, Querying
    • Labels:
      None
    • Query Execution

      stateChanges: [
          …,
          {
              from: <”active”|”inactive”>,
              to: <”active”|”inactive”>,
              time: <Date>,
              works: <NumberLong>,
              newPlanSummary: <truncated summary string>
          },
          ...
      ]
      

      The number of transitions that we are willing to store for a particular plan cache entry should be capped by a query knob. We should always store the most recent transitions.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: