-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Querying
-
None
-
Query Optimization
We execute counts over views as aggregations, but there is no reason that all count commands couldn't internally use the agg path.
- depends on
-
SERVER-57518 16% performance loss switching from Count to CountDocuments
- Backlog
- related to
-
SERVER-25899 Make the distinct command always execute as an aggregation pipeline
- Backlog