count command should give indexinfo

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.8.2
    • Component/s: Index Maintenance, Querying
    • None
    • Environment:
      centos x64 mongo-10gen-server-1.8.2-mongodb_1
    • Linux
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      > 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?

            Assignee:
            David Storch
            Reporter:
            ttt
            Votes:
            7 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: