Avatar of bhagatali
bhagatali
Flag for United States of America

asked on 

Factors for determining a block size for bulk INSERT's in DB2?

Hi,

We are developing a program where we read records from a table, process them in a COBOL/RPG program, store the processed record in an array and when a certain block size is reached we do a bulk INSERT.

How do I derive the optimal block size? What are the factors that I need to keep in mind in deriving the block size.

If there are any pointers/articles out there which you may have found useful in this regard, could you please share them?

Regards
Ali.
DB2IBM System iCOBOL

Avatar of undefined
Last Comment
Gary Patterson, CISSP

8/22/2022 - Mon