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

Avoid IntersectScan when index keys are part of index condition

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.5.0
    • 4.6.4
    • query
    • None
    • Untriaged
    • Unknown

    Description

      create index ix1 on default(type);
      create index ix2 on default(x,y,z) WHERE type = "abc";
      explain select * from default where type = "abc" AND x = 5;
      

      Avoid using IntersectScan of ix1 and ix2 and use just ix2

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              arunkumar Arunkumar Senthilnathan (Inactive)
              Sitaram.Vemulapalli Sitaram Vemulapalli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty