The Database Manager GUI gives you the option of activating the database trace function if errors occur.
Use this function when asked to do so by your Support organization. We would not recommend you enable the database trace function unless it is really necessary, because it seriously affects the performance of the database instance.
Deactivate the database trace function as soon as the actions needed for the analysis have been logged.
You can execute the log functions below either individually or in a combination that you can define yourself.
1. Choose Instance ® Check ® Database Trace.
2. On the Options tab page, select the required database trace options in the list. If the options support the selection of a trace level, the system default value is displayed in the column Level.
3. Choose Actions ® Selected Items ON to activate the database trace for the chosen database trace options.
If you want to change the trace level for the selected database trace options, choose Actions ® Selected Items ON with Level... You can now select a different trace level. The higher the trace level, the greater amount of detail is provided in the information collected by the database trace.
Choose Actions ® Selected Items OFF to deactivate the database trace.
The database trace is written for all user sessions by default. The default setting can be changed:
1. Choose Instance ® Check ® Database Trace.
2. Choose the Advanced tab page and select Trace session.
3. Decide whether the database trace is to be written for the current session or for a specific user session. In this case, enter the ID of the user session (see Displaying User Sessions).
4. Choose Actions ® Set Advanced Options.
1. Choose Instance ® Check ® Database Trace.
2. On the Advanced tab page, select Stop on error. Enter the code of the error whose occurrence is to stop the creation of the database trace.
3. Then choose Actions ® Flush to write the information still contained in the buffer to the trace and therefore update the database trace before the log file is created.
1. Choose Instance ® Check ® Database Trace.
2. On the Protocol tab page, select the required options.
3. Then choose Actions ® Flush to write the information still contained in the buffer to the trace and therefore update the database trace before the log file is created.
4. Choose Actions ® Make Protocol. The database trace is then converted to a legible format.
5. To open the log, choose Instance ® Check ® Diagnosis Files. Select the Kernel Trace Protocol file and choose Actions ® View.