Ask the Expert

Logs to view transactions entered in application

How can I view all the transactions that entered my application if I want to trace some of the transactions for a specific time or all the time? Are there any logs that I can retrieve? If yes please tell me the name. We are going to use Oracle 10g. Thanks.

    Requires Free Membership to View

After the fact, there is no way to view each and every transaction issued by a user. However, you can turn on SQL tracing before you start issuing queries by executing the following command:
ALTER SESSION SET sql_trace=TRUE;
Then exercise the application. To turn off tracing, run the same command but set SQL_TRACE to FALSE. All of this will create a trace file. You can find this trace file in the directory denoted by the USER_DUMP_DEST initialization parameter.

This was first published in October 2006

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: