Hi all
Sorry – I did not know you didn’t knew FUD
FUD = (Fear, Uncertainty, Doubt) - it's a common word amount top world Oracle experts. (Try
and AskTom at Oracle
“The Oracle AUDIT capability is, frankly, not the best method for implementing what we generally accept as an audit trail;” = FUD
“but I'll start with answering your immediate question: Oracle AUDIT is not the best audit.” = FUD
I am not saying FUD because I want you to look silly or stupid, but because the above statements aren’t right. Who are “we”? and “not the best method …. generally accept as audit trail”? and “Oracle AUDIT is not the best audit”??? – Why do you thing Oracle implemented LogMiner.
I would as far as possible try to use the build in functionality in Oracle. I would use logon triggers to audit session information – not on each DML. And I would use Oracle build in AUDIT to see queries on data. And I would use LogMiner to track down change in Log files (DML and DDL statements). I need the logon-trigger (session info) to be able to track the exact user because LogMiner (log files) do not have the information.
LogMiner is improved in 9i. Before 9i, the DDL statements appeared in the log files as a set of DML statements. In 9i you see the DDL statement.
I avoid implementing AUDIT in the application with triggers, because AUDIT is suddenly a part of applications. (Note that Oracle FGA – Fine granted Audit is on queries while we use the word for tracing changes in files. Oracle use LogMiner).
No one can implement and AUDIT that works faster than the build in functionally (actually it’s also a FUD statement – can I prove it – no – is it common knowledge – maybe, but because Logs is always present, then you get LogMiner functionally free without drop in performance, it must be faster than a trigger that generates data to a table and also generates data to Log files).
I admit that trigger audit as you describe is fine on a small mount of tables – but now it’s functionality of the application – but not as a generally part of the database.
I hope you are not offended – because I also make FUD – but I try hard to avoid it with test and test and test – and leaning and leaning and reading books. Some are very good, like one of the latest books I have been reading:
“Effective Oracle by Design”. Thomas Kyte Vice President, Oracle Core Technology (first chapter – The right approach to building Applications - Use supplied functionality and Beware of Universal “Bests” and Other Myths).
Are we still friends?
Regards
Allan
Icq: 346225948