Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-8385

Incorrect query used as example for CBO and UPDATE STATISTICS

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Cheshire-Cat
    • Cheshire-Cat
    • query
    • 1

    Description

      In 7.0 beta documentation:

      https://docs.couchbase.com/server/7.0/n1ql/n1ql-language-reference/statistics-expressions.html#examples

       

      The query used:

      EXPLAIN SELECT COUNT(*) FROM `travel-sample` WHERE country = 'France';

      should be:

      EXPLAIN SELECT COUNT(*) FROM `travel-sample`.inventory.hotel WHERE country = 'France';

       

      Attachments

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

        Activity

          There are no comments yet on this issue.

          People

            simon.dew Simon Dew
            bingjie.miao Bingjie Miao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty