Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-28

Optimizer not always correctly choosing point lookup plan

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.3
    • None
    • None

    Description

      Instead of always choosing a query plan that does a point lookup, the optimizer may choose one that instead prevents an ORDER BY, but causes a range scan instead. It's better (in the absence of stats) to choose the point lookup plan and do the ORDER BY on the results than to do a range scan with a filter on each row.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jamestaylor James R. Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: