Bulk API inserts with UNACKNOWLEDGED write concern are translated into individual inserts

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.12.0, 3.0.0
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When running a bulk insert using the bulk API and an UNACKNOWLEDGED write concern the driver translates this into individual inserts, as opposed to an insert of the list.

      Given the API user has indicated a bulk operation which is unacknowledged, it appears a single insert with all insert operations would be more appropriate. If the user wanted separate inserts, this option is available via the insert API.

      For workloads where the number of inserts is high, the difference in performance is considerable

            Assignee:
            Unassigned
            Reporter:
            Alan Spencer (Inactive)
            None
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: