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

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

    XMLWordPrintableJSON

Details

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

    Description

      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.

      Attachments

        Activity

          People

            david.storch@mongodb.com David Storch
            aaron Aaron Staple
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: