Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Oracle Profiler

Status
Not open for further replies.

jasonhuibers

Programmer
Sep 12, 2005
290
CA
Is there a similiar utility such as SQL Server Profiler for Oracle? We have a JAVA based application and want to be able to put a trace on buttons that are clicked in the application to see what queries are being executed.

Can anyone make any good suggestions?
 

Oracle provides several means of generating trace and audit files.
The most common is to trace the session.
Code:
 ALTER SESSION SET SQL_TRACE=TRUE;
[3eyes]


----------------------------------------------------------------------------
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
 

What is pC SQL?


----------------------------------------------------------------------------
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
 
You could probably switch SQL*Trace on via a log-on trigger for whatever user runs the PC SQL application. You could also enable it at database level for a short time.

For Oracle-related work, contact me through Linked-In.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top