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

Wrong cardinality estimate for select * FROM KS2 x WHERE ANY v IN uarr_i satisfies v = 74505 END type of queries

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.0.0
    • Cheshire-Cat
    • query
    • Untriaged
    • 1
    • Unknown

    Description

      select * FROM KS2 x WHERE ANY v IN uarr_i satisfies v = 74505 END

      uarr_i is a uniformly randomly distributed array with array length uniformly varying between 0 and 100.

      Hence estimating cardinality of above query should not be difficult to estimate.

      Attachments

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

        Activity

          People

            bingjie.miao Bingjie Miao
            murali.krishna Murali Krishna
            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