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

Consider not caching plans if all candidates are equally unproductive

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.6.0-rc1
    • Affects Version/s: 2.5.5
    • Component/s: Querying
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: