[SERVER-25898] Make the count command always execute as an aggregation pipeline Created: 31/Aug/16  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: David Storch Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-57518 16% performance loss switching from C... Backlog
Related
related to SERVER-25899 Make the distinct command always exec... Backlog
Assigned Teams:
Query Optimization
Participants:

 Description   

We execute counts over views as aggregations, but there is no reason that all count commands couldn't internally use the agg path.



 Comments   
Comment by Andy Schwerin [ 31/Aug/16 ]

If you do this, please do it in mongos as well.

Generated at Thu Feb 08 04:10:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.