Reputation: 4251
Probably has been asked before, but i'm looking for a utility, which can
I'm looking for a IDE thats lightweight, fast, available and won't take 2 day's to install, i.e something I can get down, install and use in the next 1 hour.
Bob.
Upvotes: 1
Views: 412
Reputation: 17
if you have license for Oracle Diagnostic/Tuning Packs, you may use Oracle Active Session History feature ASH
Upvotes: 1
Reputation: 13638
The easiest way I can think of to do this is probably already installed in your database - it's the DBMS_MONITOR
package, which writes trace files to the location identified by user_dump_dest
. As such, you'd need help from someone with access to the database server to access the trace files.
But once, you've identified the SID
and SERIAL#
of the session you want to trace, you can just call:
EXEC dbms_monitor.session_trace_enable (:sid, :serial#, FALSE, TRUE);
To capture all the SQL statements being run, including the values passed in as binds.
Upvotes: 0