Hi,
You can be able to find out the user who has done any DDL activity on the database only if you write the database level trigger.This is new feature introduced in Oracle 8i(8.1.5.0)onwards and it works very fine in Oracle 8.1.7.0 without any problem.You have to create a database level trigger which will fire if any user executes a DDL statement and it captures the entire information of that user i.e sid,serial#,osname,username,machine,terminal,object_name,object_owner,ipaddress and stores in a table for viewing.
If you want to have that trigger do mail me,will send it to you.
U can user logminor utility on archived online redo log files (if your database in Archive log mode), or else if in noarchivelog mode then u should have log files (not overwritten).
Or else you can check which user connected from Network, with os-user with IP Address, and connection time in file
$ORACLE_HOME/network/log/listener.log, U can check in who connected to which Oracle user, and the using which programm (e.g. SQLPLUS, jre if using OEM ). U can get idea who was connected, but can not justify what operations (DDL, DML) made on the database using this option.
Originally posted by Dilippatel U can user logminor utility on archived online redo log files (if your database in Archive log mode), or else if in noarchivelog mode then u should have log files (not overwritten).
Or else you can check which user connected from Network, with os-user with IP Address, and connection time in file
$ORACLE_HOME/network/log/listener.log, U can check in who connected to which Oracle user, and the using which programm (e.g. SQLPLUS, jre if using OEM ). U can get idea who was connected, but can not justify what operations (DDL, DML) made on the database using this option.
well as many suggested, logminer shows you DDL if you are using 9i which is not the case so forget about logminer
well as many suggested, logminer shows you DDL if you are using 9i which is not the case so forget about logminer
Before 9i, Logminer can track DDL as DML on the data dictionary. It could be done with an up-to-date dictionary file available and some extra analysis. However, I bet there is not one.
An ounce of action is worth a ton of theory.
—Friedrich Engels
Bookmarks