Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-9574

Docs for SERVER-13220: Add and expose statistics to new query framework

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None

    Description

      Engineering Ticket Description:

      The new query framework should expose statistics around planning and cache utilization.

      Question: expose globally or per collection?

      Statistics:

      • Number of times the cache is dropped (should we distinguish whether from write operations or index drop/raise?)
      • Number of times a plan is evicted from the cache
        • LRU evictions
        • Feedback evictions
      • Cumulative time spent planning
      • Average number of plans considered per query shape

      Currently we drop plan cache entries and all associated statistics before allowing a new plan into the cache for the query shape. One way to achieve better execution stats over time for the query engine would be to maintain historical data in the plan cache.

      Attachments

        Activity

          People

            Unassigned Unassigned
            emily.hall Emily Hall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 9 weeks, 5 days ago