I have a process that is taking a long time to execute. I don't have access to the source code, is there any way to turn on SQL trace for one session?
Requires Free Membership to View
Try using the set_sql_trace_in_session package. After you determine the sid and serial# for the process, execute the trace package using the syntax:
execute sys.dbms_system.set_sql_trace_in_session(sid,serial#,true);
This was first published in May 2001
Join the conversationComment
Share
Comments
Results
Contribute to the conversation