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

~2x degradation of range queries with COUNT

    XMLWordPrintable

Details

    • Untriaged
    • Centos 64-bit
    • Hide
      Please navigate from ShowFast.
      Show
      Please navigate from ShowFast.
    • Yes

    Description

      Setup:

      • 4 KV nodes, 1 query node, 1 index node
      • 1 bucket
      • 100M documents (non-DGM)
      • 30K updates/sec

      Index:

      CREATE INDEX by_capped_small ON `bucket-1`(capped_small);
      

      Queries:

      SELECT COUNT(*) FROM `bucket-1` WHERE capped_small > $1 AND capped_small < $2;
      

      Those queries match ether 1K or 10K documents. Both cases regressed. Both MOI and Plasma are affected.

      See:
      http://showfast.sc.couchbase.com/#/timeline/Linux/n1ql/count/MOI
      http://showfast.sc.couchbase.com/#/timeline/Linux/n1ql/count/Plasma

      Attachments

        1. COUNT.png
          COUNT.png
          310 kB
        2. cpu_1912.svg
          238 kB
        3. cpu.svg
          233 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            deepkaran.salooja Deepkaran Salooja
            pavelpaulau Pavel Paulau (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty