-
Type: Improvement
-
Resolution: Done
-
Priority: Critical - P2
-
Affects Version/s: None
-
Component/s: Performance, Storage
-
None
-
Fully Compatible
-
Quint 9 09/18/15
Currently it gets the list of namespaces then gets the CollectionOptions for each namespace. The second step involves a table-scan of system.namespaces. Due to SERVER-18622 this happens even if you are only requesting information for a single namespace.
Instead, the storageEngine API should have a way to get all namespaces and their CollectionOptions in one pass. This should speed up both MMAP and KVCatalog-based engines.
- is duplicated by
-
SERVER-20336 O(N^2) perf regression in listCollections and similar code paths [BLOCKING Mongo 3.0 Adoption]
- Closed
- related to
-
SERVER-18622 listCollections command should special-case filtering by name.
- Closed