-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:None
Description
Downstream Change Summary
Added two server status metrics on mongoD:
cursor.totalOpened - the total number of cursors that have been opened so far. Differs from cursor.open.total in that cursor.open.total is the total number of currently opened cursors, whereas this new metric is the number of cursors that have been opened until this point.
cursor.moreThanOneBatch - the number of cursors that have returned more than one batch (i.e. have called getMore)
Description of Linked Ticket
This could help us understand how often resumable queries would be useful.
Scope of changes
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
- documents
-
SERVER-49867 Add server status metrics to track how often a cursor has more than 1 batch
- Closed