Re: DB2 Trace -
10-08-2009
, 07:23 AM
The mechanics of the DB2 trace are quite straightforward. See the -START TRACE command in the DB2 Commands manual.
The tricky part gets into what data you want to collect. As a general practice, Accounting trace classes 1, 2 and 3 can be run. With these, you can establish a base-line of performance for your applications over time through whatever monitoring means you choose (through trend reports, exception reports, etc, depending on the tool(s) you choose to analyze this data).
If you are shooting a specific performance issue, and don't know how to start a trace, then I would suggest you find someone who is familiar with resolving performance problems via DB2 trace and work with them directly. |