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

count command should give indexinfo

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 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

      > 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@mongodb.com David Storch
            Reporter:
            ootada ttt
            Votes:
            7 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: