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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.12.0, 3.0.0
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: