Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1558

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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.12.0, 3.0.0
    • Labels:
      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 Unassigned
            Reporter:
            alan.spencer Alan Spencer
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: