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

Update statistics in the cache after running analyze command

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • QO 2022-10-31, QO 2022-11-14

    Description

      Currently statistics in the cache is not invalidated after analyze command, and hence its not updated. 
      If statistics is updated in the collection the analyze command must invalidate the corresponding cache entry and so the stats entry will be updated on the next request.
      If there are old copies of statistics they should not be deleted until optimizer finished using it.

      Attachments

        Activity

          People

            misha.tyulenev@mongodb.com Misha Tyulenev
            misha.tyulenev@mongodb.com Misha Tyulenev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: