-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
The new compact command has been optimized to be very fast at building several indexes during the compaction of a collection. Keys for all indexes are written to temporary files during a single scan of the collection data.
The same technique could be applied to initial sync and would make it faster for big collections with several indexes. See the compact code - given that is now done it should be fairly easy to plug in to initial sync (clonecollection).
- is depended on by
-
SERVER-5040 Cloner can fail to create unique indexes on initial sync
- Closed
-
SERVER-7527 Improve speed of replication when in initial sync
- Closed
- is duplicated by
-
SERVER-2731 Optimize index building during initial sync
- Closed
- is related to
-
SERVER-7946 Command to build multiple indexes at the same time
- Closed