Interface NumberOfRowsPerBatch


  • public interface NumberOfRowsPerBatch
    How many rows will be inserted in single transaction? This is an important performance issue.

    We support two ways to insert multiple rows in one batch: Either with the PreparedStatement.addBatch() method or with multiple VALUES() clauses for an INSERT statement. The latter method is much faster in most cases, but not all databases support this, so the value must be 1 then.

    The value also must not be too high so data buffers are not exceeded, especially when the table contains BLOBs.

    © 2012-2034 akquinet tech@spree

    Author:
    M. Dahm
    See Also:
    MaxNumberOfDataItems