When evaluating plans, some index candidates cause complete index scan

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.6.5, 2.7.7
    • Affects Version/s: 2.6.4
    • Component/s: Querying
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When running query during multiPlanRunner stage some combinations of values and data distribute can cause a fast query have a possible plan/index choice where full index scan (of a non-selective attribute) would be evaluated. Running explain(true) can show which index has unusually high nscanned.

      It seems during race-off the full scan is finished, causing some percentage of queries to be excessively slow.

              Assignee:
              David Storch
              Reporter:
              Asya Kamsky
              Votes:
              2 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: