Details
-
Improvement
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
Query Execution
Description
Currently, only the $cursor stage reports any interesting execution statistics when explaning an aggregation at verbosity level "executionStats". Because of the complexity of $exchange, it would be interesting to expose more runtime stats.
Some ideas of what might be interesting off the top of my head:
- number of total calls to DocumentSourceExchange::getNext()
- number of total yields
- number of times each consumer blocks on empty buffer
- number of times each consumer thread fills the buffers
- the number of times buffer N is filled to capacity
Attachments
Issue Links
- depends on
-
SERVER-35905 Plug pieces together to perform a distributed $exchange when applicable
-
- Closed
-