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

Add QuerySettings to $planCacheStats output

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • QE 2023-10-30
    • 60

      Currently $planCacheStats logic serializes only PlanCacheEntries as result of this stage and QuerySettings are not present there, because they are part of the key.

      Having QuerySettings as part of $planCacheStats would help during diagnostics, therefore it would be valuable to have it there.

      In order to achieve that we could modify the serializer of the PlanCacheEntries and let it take PlanCacheKey as well. Then we would include PlanCacheKey.QuerySettings into the serialized output.

            Assignee:
            denis.grebennicov@mongodb.com Denis Grebennicov
            Reporter:
            denis.grebennicov@mongodb.com Denis Grebennicov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: