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

Eviction algorithm for bad cached plans needs to be more aggressive

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 2.6.4
    • Querying
    • None
    • ALL
    • Query 2.7.8

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: