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

Use IndexCountScan for like queries of type x like "test%"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.5.1, 5.0.0
    • 5.0.0
    • query
    • None
    • Untriaged
    • Unknown

    Description

      create index ix2 on default;
      explain select count(1) from default where x like "testa%";

      "#operator": "IndexScan",
      "covers": [
      "cover ((`default`.`x`))",
      "cover ((meta(`default`).`id`))"
      ],
      "index": "ix2",

      Attachments

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

        Activity

          People

            gerald Gerald Sangudi (Inactive)
            Sitaram.Vemulapalli Sitaram Vemulapalli
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty