Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There is no need to "roll your own". Just turn on auditing:</p> <ol> <li>Set the database parameter AUDIT_TRAIL = DB.</li> <li>Start the instance.</li> <li>Login with SQLPlus.</li> <li>Enter the statement <pre>audit all;</pre>This turns on auditing for many critical DDL operations, but DML and some other DDL statements are still not audited.</li> <li>To enable auditing on these other activities, try statements like these:<pre>audit alter table; -- DDL audit audit select table, update table, insert table, delete table; -- DML audit</pre></li> </ol> <p>Note: All "as sysdba" activity is ALWAYS audited to the O/S. In Windows, this means the Windows event log. In UNIX, this is usually $ORACLE_HOME/rdbms/audit.</p> <p>Check out the <a href="http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_4007.htm" rel="nofollow noreferrer">Oracle 10g R2 Audit Chapter</a> of the Database SQL Reference.</p> <p>The database audit trail can be viewed in the SYS.DBA_AUDIT_TRAIL view.</p> <p>It should be pointed out that the internal Oracle auditing will be high-performance by definition. It is designed to be exactly that, and it is very hard to imagine anything else rivaling it for performance. Also, there is a high degree of "fine-grained" control of Oracle auditing. You can get it just as precise as you want it. Finally, the SYS.AUD$ table along with its indexes can be moved to a separate tablespace to prevent filling up the SYSTEM tablespace.</p> <p>Kind regards, Opus</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload