Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-3493

count command should give indexinfo

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 1.8.2
    • Fix Version/s: None
    • Component/s: Indexing, Querying
    • Labels:
      None
    • Environment:
      centos x64 mongo-10gen-server-1.8.2-mongodb_1
    • Operating System:
      Linux

      Description

      > db.index.find().count().explain();
      Wed Jul 27 16:51:45 TypeError: db.index.find().count().explain is not a function (shell):1

      other ways to call count with explain i have tried also fail similarly.

      how do i know if mongod optimizes count query correctly if i can't "explain" it?

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                7 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: