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

[Backport MB-23733] - Port union scan enhancements to 4.6.4

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 4.6.4
    • 4.6.2
    • query
    • None

    Description

      Currently the plan for UNION SCAN is correctly generated in 5.0.

      Considering that most enterprise customers are probably not going to get to 5.X for atleast another 12 months it would be worthwhile to port back the UNION SCAN enhancement in to 4.6.X

      It currently works correctly for the following scenario

      k0="X" OR k1="Y"

      It does not work for the following

      (k0="X" OR k1="Y") AND k3="Z"

      Union scan does provide significant benefits on OR queries so that existing indexes can be used without having to do a UNION ALL i.e. manually breaking up the query to make it optimal.

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-25763
          # Subject Branch Project Status CR V

          Activity

            People

              Sitaram.Vemulapalli Sitaram Vemulapalli
              asif.kazi Asif Kazi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty