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

Add 'stateChanges' to $planCacheStats

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Diagnostics, Querying
    • None
    • Query Execution

    Description

      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.

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: