Control database manager blocking

 

To improve performance, the SQL runtime attempts to retrieve and insert rows from the database manager a block at a time whenever possible.

You can control blocking, if you want. Use the SEQONLY parameter on the CL command Override Database File (OVRDBF) before calling the application program that contains the SQL statements. You can also specify the ALWBLK parameter on the CRTSQLxxx commands.

The database manager does not allow blocking in the following situations:

The SQL run-time automatically blocks rows with the database manager in the following cases:

 

Parent topic:

Programming techniques for database performance

 

Related reference


Effects of precompile options on database performance

 

Related information


Override Database File (OVRDBF) command