Details
-
Improvement
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
None
Description
In SERVER-1752 you have optimized the speed for simple queries count
db.Comment.count(
)
I think it would be very usefull an improvement for more complex queries.
Now for large collections counts like this are very slow
db.Comment.count({appId:{$in:[1,2]}})
db.Comment.count({$or:[
,
{appId:2}]})
Attachments
Issue Links
- duplicates
-
SERVER-9883 Performance issues with distinct and count queries
-
- Closed
-