[SERVER-5271] Add keysExamined, docsExamined, and nReturned counters to $currentOp Created: 09/Mar/12 Updated: 06/Dec/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | Diagnostics |
| Affects Version/s: | 2.0.3 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jared D. Cottrell | Assignee: | Backlog - Query Execution |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | currentOp | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Assigned Teams: |
Query Execution
|
||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||||||
| Description |
|
It would be useful to see how far large ops have gotten. M/Rs give some sense of progress. It could be useful in some cases to have nscanned info on queries. Not sure how hard that is to get, though. |
| Comments |
| Comment by David Storch [ 30/Apr/19 ] |
|
james.wahlin if I understand correctly, this ticket tracks the work to add the keysExamined, docsExamined, and nReturned metrics to $currentOp, specifically so the progress of long-running operations is visible as they execute. Currently, these metrics are only written to the diagnostic log and to system.profile after the operation completes. |
| Comment by James Wahlin [ 25/Jan/19 ] |
|
I believe this ticket can be closed as we report keysExamined and docsExamined for the mapReduce command. This test confirms this behavior. |