skip to main content
Using the Driver : Using Bulk Load for Batch Inserts
  

Try DataDirect Drivers Now

Using Bulk Load for Batch Inserts

The driver uses the native bulk load protocol for database connections when the Enable Bulk Load connection option is set to true (enabled). For example, if you set the Enable Bulk Load connection option to true, the driver would use bulk load for the native parameter array insert request.
In some cases, the driver may not be able to use bulk load because of restrictions enforced by the bulk load protocol and will downgrade to a batch mechanism. For example, if the data being loaded has a data type that is not supported by the bulk load protocol, the driver cannot use bulk load, but will use the native parameter array insert mechanism instead.
Use the Bulk Load Batch Size connection option to specify the number of rows the driver loads at a time when bulk loading data. Performance can be improved by increasing the number of rows the driver loads at a time because fewer network round trips are required. Be aware that increasing the number of rows that are loaded also causes the driver to consume more memory on the client.
* Determining the Bulk Load Protocol
* Limitations
* Summary of Related Options for Bulk Load for Batch Inserts