370 OnDemand SQL Performance Analysis Simplified on DB2 for i5/OS in V5R4
10.4 Example of using the methodology
A user has noticed that an application which tallies up sales for each sales person in the
company is starting to perform slower every day. We also know that business has been good
and there has been an increased volume in sales. Let us follow the methodology steps
through this hypothetical situation.
1. Assume for the purposes of this example that we have reviewed the Collection Services
data and have found no evidence of needing system-wide tuning.
2. We review the plan cache and sort by total run time. We find a statement at the top which
is taking the greatest run time. We see that this is a query joining the employee and
depar ...