IndexScan should track the number of calls to seek() and expose in explain

XMLWordPrintableJSON

    • Fully Compatible
    • Query 10 (02/22/16)
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The index scan stage should track the number of calls to BtreeIndexCursor::skip() made here:

      https://github.com/mongodb/mongo/blob/r3.0.0-rc6/src/mongo/db/exec/index_scan.cpp#L438-L439

      Original Description

      Currently nscanned isn't precise enough to distinguish between unindexed traversal and btree traversal, and in some cases between btree skipping and inorder order btree traversal.

              Assignee:
              David Storch
              Reporter:
              Aaron Staple (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: