Home » RDBMS Server » Server Administration » drop table trace
drop table trace [message #138140] Tue, 20 September 2005 05:57 Go to next message
lijok
Messages: 68
Registered: April 2005
Member
Hi,
Is there a way to find out the trace of the table being dropped from the schema. In the development environment all use the same user name to login. The trace should provide some clue (may be the IP address of the m/c from where the table was dropped) and time when it was deleted.

Thanks in advance

Regards,
Lijo
Re: drop table trace [message #138146 is a reply to message #138140] Tue, 20 September 2005 06:48 Go to previous message
tarundua
Messages: 1080
Registered: June 2005
Location: India
Senior Member



You can perform some auditing.

set parameter

 AUDIT_TRAIL = TRUE
in your init.ora file.

then login as sys and run the command

 AUDIT DROP TABLE 
        BY user_name
        WHENEVER SUCCESSFUL;
 


And you can use few views like

AUD$, DBA_AUDIT_TRAIL, DBA_AUDIT_SESSION to view the information.

regards,
tarun
Previous Topic: Quota exceeded!
Next Topic: Could I install Oracle 9i by network?
Goto Forum:
  


Current Time: Fri Jan 10 10:39:51 CST 2025