-
Type:
Improvement
-
Resolution: Won't Fix
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Storage Execution
As a result of investigating SERVER-676 we discovered that simply batching bulk inserts at the end revealed a significant increase in performance during index builds.
Right now inserts are performed 1-by-1, incurring the overhead of an entire WriteUnitOfWork for it. As we saw with BatchedDeletes, batching would alleviate the overhead.
The very rough patch attached here yielded an approximate 10% improvement in throughput.
- is related to
-
SERVER-55338 Propagate bulk inserts from Collection layer down to IndexCatalog
-
- Backlog
-
-
SERVER-676 use multiple cores for index sort-phase
-
- Closed
-