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

Use non-covering global index automatically without hint if the filter is selective enough

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.8.1
    • None
    • None

    Description

      Right now, if a global index is non-covering and if the where clause will favor the usage of that global index, we need the user to specify an INDEX hint to make use of that global index by rewriting the query into an IN subquery.
      For some filters, like for example, "where idx_pk = ?", we can turn on this optimization automatically even without the presence of the hint.

      Attachments

        Activity

          People

            maryannxue Wei Xue
            maryannxue Wei Xue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: