Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-59847

CBO always chooses an index with "maximum" index pushdown

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • No

    Description

      With a query containing GROUP BY and/or aggregation, when there are multiple indexes available that can do group aggregates pushdown, the cost-based optimizer (CBO) currently always chooses the index with the "maximum" pushdown, e.g., it'll choose an index with full group/aggregate pushdown over an index with partial group/aggregate pushdown, regardless of cost. This can result in an inefficient index being chosen.

      Attachments

        Activity

          People

            bingjie.miao Bingjie Miao
            bingjie.miao Bingjie Miao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty