Trace Flags
When reporting problems to PeopleSoft support, it is advisable to generate files with traces of the problem that you want to report. Use the trace flags incorporated in PeopleSoft tools to generate these files. The trace flags are accessible through the configuration files for the Process Scheduler and the application server and through the selection of several flags when using the PeopleSoft Configuration Manager on your developer workstation.
Use “TRACESQL=63” to display the SQL statements executed when using PeopleSoft applications. This trace flag is very useful to identify problems in the SQL being executed against a database that hosts a PeopleSoft application.
The trace flag will show the details about the execution of a SQL statement, including:
-
if the statement was recompiled.
-
if the statement was using an old query plan.
-
the time it took to execute.
-
the time between executions.
-
if the SQL was parametrized.
Once you find the SQL with problems, you can use the SQL Server profiler to reproduce this outside of your PeopleSoft application.
Note:
Keep in mind that tracing could affect performance considerably, and you won't be able to reproduce some problems with tracing enabled.