Database Tuning (MOSC)

MOSC Banner

10gR2 : Recording all the statements fired by a specific users

edited Mar 17, 2011 7:10AM in Database Tuning (MOSC) 4 commentsAnswered
Hi Guys,
I(as DBA) want to monitor/record all the statements fired by a specific users during a certain period of time.
  • I have access to Toad dba session and
  • access to SQLPLUS session as dba ?
What should be the sql for this ?

I use v$sql but have some doubt about following :

1. exact sequence of foreground statements are difficult to get.
2. column 'executions' does not give me actual number of time that SQL statement is fired ?
3. Actual run time is also not possible to get ?
4. what about the history of sql statements ?

PS :I can not put a system level trigger trigger because of security.

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