We have runstats performed every night on DB2 V8.1 (AIX). I was running some snapshots earlier and I noticed that there were 32,000 dynamic sql statements executed and 53,000 static sql run. The way I understand it is that the dynamic sql always gets the most recent runstat data, but the static sql will only get the most recent data if a bind is performed after the runstats. Do we need to add a step of doing a bind after the runstats to improve the run time of the 53,000 static sql statements? If so, how much will this help?
Thanks
Anthony