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

Eviction algorithm for bad cached plans needs to be more aggressive

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.6.4
    • Component/s: Querying
    • None
    • ALL
    • Query 2.7.8

      When we cache a plan, if subsequent queries produce significantly worse performance result than expected, the cached plan should be evicted.

      It's currently evicted but the eviction strategy is too conservative so if we happen to cache a plan that works well only on a small minority of values we take too long to replace it.

            Assignee:
            david.storch@mongodb.com David Storch
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: