troubleshooting Question

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

Avatar of bhagatali
bhagataliFlag for United States of America asked on
1 Comment1 Solution1115 ViewsLast Modified:

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?

Gary Patterson, CISSP
Expert for hire: IBM i, AIX, Linux, Windows, DB2, Performance, Security. EDI

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros