Original Downstream Change Summary
Added 2 new fields to slow query logs and profile:
estimatedCost and estimatedCardinality
Description of Linked Ticket
Class curOp contains data specific for the operation and will add estimatedCost, estimatedCardinality, and the query key (as it is defined in the map - see references). curOp already contains information about whether the plan used a collection scan, as well as executionTime and optimizationTime. This will satisfy the goals form the scope to add the data for the system.profile and explain output.
- documents
-
SERVER-81988 Add optimizer metrics to curOp
- Closed