Hi. Working with DB2 UDB v6.1 (OS/390) in a distributed environment. Recently, we've observed that the main FETCH (i.e. retrieving the records to process) for a batch program is "slow" / consuming a great deal of time. Granted, FETCHes, like every DB operation consume time/resources, but in this case it's to the point where we took notice.
My question is: is there anything that can affect the performance of a FETCH statement? perhaps the manner in which the SQL is coded? or the columns being retrieved?
Thanks!