[SERVER-23257] Report keysExamined/docsExamined/hasSortStage in per-operation diagnostic log message and profiler for all relevant ops/commands Created: 21/Mar/16  Updated: 14/Mar/17  Resolved: 24/Aug/16

Status: Closed
Project: Core Server
Component/s: Diagnostics, Querying
Affects Version/s: None
Fix Version/s: 3.3.5

Type: Improvement Priority: Major - P3
Reporter: James Wahlin Assignee: James Wahlin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-5271 Add keysExamined, docsExamined, and n... Backlog
is duplicated by SERVER-3444 Alter profiler to capture nscanned wh... Closed
is duplicated by SERVER-12823 Include query related fields for dele... Closed
Related
related to DOCS-7700 Support for keysExamined, docsExamine... Closed
related to SERVER-5834 Log final count for count command Backlog
related to SERVER-25951 Report additional metrics in getMore ... Closed
is related to SERVER-23265 Consistent diagnostics for aggregate ... Closed
Backwards Compatibility: Minor Change
Sprint: Query 13 (04/22/16)
Participants:

 Description   

Ops/commands that are missing keysExamined/docsExamined:

  1. count command
  2. distinct command
  3. getMore command
  4. geoNear command
  5. group command
  6. mapReduce command
  7. getMore operation
  8. delete command
  9. update command
  10. delete operation

Ops/commands that are missing hasSortStage:

  1. getMore command
  2. findAndModify command
  3. mapReduce command
  4. getMore operation


 Comments   
Comment by James Wahlin [ 20/Apr/16 ]

Marking "Documentation Changes" as needed as we are adding under this ticket keysExamined, docsExamined and hasSortStage metrics to commands and operations that didn't previously support.

The above said, I do not see that we currently detail their absence. Will enter a DOCS ticket for either changes or confirmation that none are needed.

Comment by Githook User [ 20/Apr/16 ]

Author:

{u'username': u'jameswahlin', u'name': u'James Wahlin', u'email': u'james.wahlin@10gen.com'}

Message: SERVER-23257 Report keysExamined/docsExamined/hasSortStage where valid
Branch: master
https://github.com/mongodb/mongo/commit/0f1cf1b71a12d2e41aeea064848ef192bfceddd7

Comment by James Wahlin [ 13/Apr/16 ]

The aggregate command has been removed from the scope of this ticket. Work to add/fix keysExamined, docsExamined and hasSortStage will done under SERVER-23265.

Generated at Thu Feb 08 04:02:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.