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

Add QuerySettings to $planCacheStats output

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2023-10-30
    • 60

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: