how to find which user performed DML operations in a table in oracle? Need a query to find out from DB?
How to find which user performed DML operations in a table in oracle
oracle
Related Question
- Oracle Database – How to Find Out Who is Active and Locking the Oracle Database?
- How to get a last DML operation in Oracle 10g-11g
- Oracle – execute DML query as different user
- Oracle Temporary table Space reasons for excessive use and sizing
- Oracle Query Execution Time – How to Find Execution Time of Old Queries
- Oracle – How to Find Deleted Tables
- Oracle SQL 11gR2 – Finding Dates When ‘impdp’ Was Performed
- Logged on as sysdba, how to run dml script as another user if you do not have the passwrod
Best Answer
The answer is auditing.
Monitoring Database Activity with Auditing
Traditional auditing:
Unified auditing:
If
audit_trail
is set toDB
orDB,EXTENDED
, results can be queried from DBA_AUDIT_TRAIL in case of traditional auditing. With Unified auditing, results can be queried from UNIFIED_AUDIT_TRAIL.