MongoDB Community Hub
CountDocuments is too slow on huge data (with proper indexes)
Working with Data
Node.js Frameworks
aggregation
,
node-js
,
mongoose-odm
Peter_Hubbard
(Peter Hubbard)
May 15, 2024, 10:44am
2
Have you indexed the createdAt and user_id fields within a compound index?
show post in topic
NEW: MongoDB Community Hub is Now in Public Preview!
×