Entering content frame

 Database Trace 

You can activate a database trace. When you do this, the trace writer task logs all reactions of the database kernel to database statements in the log file knltrace.

You can use a database trace to detect errors when processing the statements. You can also use the trace to classify inconsistencies caused by hardware errors more exactly.

Only enable the writing of a database trace if you are asked to do so by the support team. We do not recommend that you activate the trace function unless it is really necessary, because it seriously affects the performance of the database instance.

While the database trace is activated, run the database instance with the smallest load possible, and only perform those actions needed to reproduce the error.

Deactivate the database trace as soon as the actions needed for the analysis have been logged.

Activating and Deactivating the Database Trace

Use the Database Manager or the Database Assistant in SAP systems to activate and deactivate the database trace.

·        Database Manager GUI, Activating the Database Trace

·        Database Manager CLI, section Database Trace Functions

·        Database Administration in CCMS: MySQL MaxDB, Database Trace

 

Leaving content frame