Database Tuning (MOSC)

MOSC Banner

Can we enable trace to overall instance

edited Feb 7, 2020 7:56AM in Database Tuning (MOSC) 6 commentsAnswered

Hi Experts,

I would like to know,what all sql statements and how many times each statement executed in 15 minutes from the point i enable the trace.I can then do tkprof and view the results.Please let us know if there is any method through which i can achive this.

I am doing this but the resultant tkprof is empty

as sysdba

SQL> alter session set events '10046 trace name context forever,level 12';

Session altered.

Wait for 15 minutes

and then disable trace

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center