Batch Bulk inserts during the indexing collection scan

XMLWordPrintableJSON

    • Storage Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Unassigned
              Reporter:
              Jordi Olivares Provencio
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: