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

Consider not caching plans if all candidates are equally unproductive

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 2.6.0-rc1
    • 2.5.5
    • Querying
    • None

    Description

      If none of the candidate plans produce or hit EOF while picking the best plan, then we currently choose a plan arbitrarily and cache it. We should consider not caching the plan in this case, since we don't have much information suggesting that it is better than the other candidates.

      Attachments

        Activity

          People

            david.storch@mongodb.com David Storch
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: