IBM DB2 Optimization Expert, Version 2.1

Changing the maximum size of the trace

You can change the maximum size of a trace file to limit how much information is stored.

By default, the maximum size is 20 MB. When the file reaches this size, the file is saved as trace.1.text, and a new file trace file, trace.txt, is created. However, only one backup file is ever created meaning that if the size of trace.txt reaches the maximum size a second time, trace.1.txt is overwritten by the contents of trace.txt. The trace files are stored in installation_directory\log. The maximum size that you set affects only this file. It does not affect the JDBC trace file.

To change the maximum size of the trace:

  1. Select Window > Preferences. The Preferences window opens.
  2. In the preferences menu, select General.
  3. In the Trace file limit field, specify a different limit for the size of the trace file. If this field is not available, tracing is not enabled. Select the Enable trace check box to enabling tracing.
  4. Click Apply. The maximum size is set.
Related tasks
Clearing the trace


Feedback