Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-89265

Use batch insertion interface for unordered time series inserts

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • v8.0, v7.3, v7.0
    • Execution Team 2024-04-29, Execution Team 2024-05-13, Execution Team 2024-05-27, Execution Team 2024-06-10, Execution Team 2024-06-24, Execution Team 2024-07-08, Execution Team 2024-07-22, Execution Team 2024-12-09

      While ordered inserts will still require special handling, unordered inserts can take advantage of the batch insert interface we'll add in SERVER-89262. We can sort the documents by (metaField, timeField) to allow for efficient bucketing under a single mutex acquisition. This will allow us to significantly reduce contention and improve throughput in bulk load situations where different threads are inserting many documents with the same metaField values.

            Assignee:
            damian.wasilewicz@mongodb.com Damian Wasilewicz
            Reporter:
            dan.larkin-york@mongodb.com Dan Larkin-York
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: