Controlling Db2 trace data collection
Db2 provides commands for controlling the collection of trace data.
Before you begin
To use the trace commands, you must have one of the following types of authority:
- SYSADM or SYSOPR authority
- Authorization to issue start and stop trace commands (the TRACE privilege)
- Authorization to issue the display trace command (the DISPLAY privilege)
About this task
For descriptions of the Db2 trace types, see Types of Db2 traces.
Procedure
To control Db2 traces, use the following approaches: