Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Fine Grain Auditing.
For DDL the easiest option is to create database triggers:
create Or replace trigger before_drop
before drop
on test_user.schema
begin
raise_application_error(-20001, 'Dropping tables is naughty');
end;
/
drop table t1;
drop table t1
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1 ORA-20001: Dropping tables is naughty ORA-06512: at line 2
Desc T1
Name Null? Type
The overheads of FGA are potentially disastrous, and the exercise is probably a total waste of time.
Regards
Jonathan Lewis
http://www.jlcomp.demon.co.uk/faq/ind_faq.html The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/seminar.html Optimising Oracle Seminar - schedule updated May 1st
Has any one worked with Oracle's Fine Grain Auditing.
What is the performance overhead.
Also, has anyone asked for auditing DDL? We are getting requirements
about auditing DDL functionality.
Thanks
Chaya Patamalla
I/T Sr.Database Administrator
--"The opinions expressed herein are solely the author's and are not
necessarily the opinion of USAA." --