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

[BP to 7.1.2] - Push filters to index scan to potentially reduce fetch size

    XMLWordPrintable

Details

    • 1

    Description

      Currently, if an index scan is not covering, a fetch is done immediately after the index scan, and filters are evaluated after the fetch. There are situations where a filter cannot be effectively used to generate an index span, however the filter only depends on index keys and thus can potentially be evaluated with the index key values only. Such a filter can potentially discard result returned from the index scan and thus reduce unnecessary fetches.

      Such filters can be something like:

      lower(c1), when c1 is an index key
      c1 LIKE "%abc%", like pattern with leading wild card

      Attachments

        Issue Links

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

          Activity

            People

              ajay.bhullar Ajay Bhullar
              bingjie.miao Bingjie Miao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty