Batch inserts
- Last Updated: August 12, 2021
- 1 minute read
- DataDirect Connectors
- JDBC
- PostgreSQL 6.0
- Documentation
The BatchMechanism connection property determines how the driver manages batch
inserts. When BatchMechanism is set to nativeBatch,
the driver uses the PostgreSQL native batch protocol to insert all batched parameters.
When BatchMechanism is set to copy, the driver
leverages the PostgresSQL COPY command for substantial performance gains. See
"BatchMechanism" for details.