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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.12.0, 3.0.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            alan.spencer Alan Spencer
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: