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

alter profiler to capture plan used when query ran

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.5.5
    • Affects Version/s: None
    • Component/s: Querying
    • Environment:
      1.8.1

      I know this may be difficult or require a query to be double run, but it would be great to have the plan in the profiler. Especially the nYields field.

      > db.contact.find(

      {userid:"000020862072"}

      ).explain()
      {
      "cursor" : "BasicCursor",
      "nscanned" : 299073,
      "nscannedObjects" : 299073,
      "n" : 6,
      "millis" : 606,
      "nYields" : 1,
      "nChunkSkips" : 0,
      "isMultiKey" : false,
      "indexOnly" : false,
      "indexBounds" : {

      }
      }

            Assignee:
            hari.khalsa@10gen.com hari.khalsa@10gen.com
            Reporter:
            kgorman Kenny Gorman
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: