Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Done
-
3.2.0
-
Fully Compatible
-
Linux
-
Description
Even though SERVER-19182 and SERVER-19183 exist, I have a collection of one million documents on which $sample takes very long time. This shows even on collections with only 10K documents.
This only happens to collection that was just created. Restarting mongod process "fixes" this symptom.
Attachments
Issue Links
- is duplicated by
-
SERVER-24710 Optimize $sample+$project
-
- Closed
-
- is related to
-
SERVER-23661 $sample takes disproportionately long time on newly created collection
-
- Closed
-
- related to
-
WT-2291 Random cursor walk inefficient in skip list only trees
-
- Closed
-
- links to