Database Administration (MOSC)

MOSC Banner

How to know which user or sessions are accessing a particular table in Oracle 10g?

edited Aug 14, 2013 8:02PM in Database Administration (MOSC) 3 commentsAnswered
Hi:
Does anyone know how to write a script to report current users (e.g: session id, os_name, logon_time) that are accessing (select/insert/delete/update) a particular database table?

we are in Oracle 10.2.0.5 and recently my developers are asking me this.  I used to have a script checking with v$access, as I remember but not sure, because I forgot what 'type' means in below v$access and it takes very long in returning any rows when I tested, it runs like hanging!

SQL> desc v$access
 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 SID                                                NUMBER
 OWNER                                              VARCHAR2(64)

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