Tracing Db2 Spatial Extender problems
When you have a recurring and reproducible Db2 Spatial Extender problem, you can use the Db2 trace facility to capture information about the problem.
Before you begin
Ensure that you have the proper authorization to issue the db2trc command. On UNIX operating systems, you must have SYSADM, SYSCTRL, or SYSMAINT authorization to trace a Db2 instance. On Windows operating systems, no special authorization is required.
About this task
The Db2 trace
facility is activated by the db2trc command. The Db2 trace facility can:
- Trace events
- Dump the trace data to a file
- Format trace data into a readable format
Restrictions
- Activate this facility only when directed by a Db2 technical support representative.
- The db2trc command must be entered at an operating system command prompt or in a shell script. It cannot be used in the Db2 Spatial Extender command-line interface (db2se) or in the Db2 CLP.
Procedure
To troubleshoot problems in Db2 Spatial Extender by using the Db2 trace facility: