
256 OnDemand SQL Performance Analysis Simplified on DB2 for i5/OS in V5R4
In Figure 7-18, you should find the SQE Plan Cache Snapshot created for SNAPSHOT1
which you dumped using DUMP_PLAN_CACHE stored procedure. You can perform further
action on this snapshot such as Analyze, Show Statements and so on.
Figure 7-18 Perform further work on SNAPSHOT1 SQE Plan Cache Snapshot
7.3.3 Creating an SQE Plan Cache Snapshot using an Exit Program
You can make use of exit point QIBM_QWC_PWRDWNSYS to call
QSYS2.DUMP_PLAN_CACHE each time PWRDWNSYS and ENDSBS commands are
issued. The program is called before the system actually powers down. You can automate