Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to get the SQLs executed by a particular USER?

Ora Dev SgDec 22 2016 — edited Jan 2 2017

How do we find out which SQLs were issued by a particular session.

V$SQL does not have the username that executed the SQL.

So, if I want to find out the SQLs issued by user ABC, how can we get this?

We have no ASH.

PS: Username ABC will have many sessions running in the DB at the same time issuing many SQLs.  I want to get all those SQLs from all the ABC sessions.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 30 2017
Added on Dec 22 2016
24 comments
2,245 views