XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • ALL

    Description

      MongoDB Server Version: 3.2.21

      Using a query witch consists of ** a index key, It also spend long time: 2730ms.

      This is the query explain:

      By the document, it says:

      When performing a count, MongoDB can return the count using only the index if:

      • the query can use an index,
      • the query only contains conditions on the keys of the index, and
      • the query predicates access a single contiguous range of index keys.

      And I only use `attributes.ci_type` in the filter.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            mrliuxiansen8023@gmail.com du liu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: