User Tools

Site Tools


unifiedauditing

This is an old revision of the document!


Unified Auditing

Check if Enabled

select VALUE from V$OPTION 
where PARAMETER='Unified Auditing';

Enable

  • Shutdown Database
  • cd $ORACLE_HOME/rdbms/lib
  • make -f ins_rdbms.mk uniaud_on ioracle
  • set AUDIT_TRAIL = NONE, otherwise both auditing mechanisms will run concurrently
  • Start Database

Configuration

Records are written to the SGA queues and then periodically written to tables in the AUDSYS schema. If it is required that the audit details are immediately written to the tables then …

BEGIN
 DBMS_AUDIT_MGMT.SET_AUDIT_TRAIL_PROPERTY (
  DBMS_AUDIT_MGMT.AUDIT_TRAIL_UNIFIED,
  DBMS_AUDIT_MGMT.AUDIT_TRAIL_WRITE_MODE,
  DBMS_AUDIT_MGMT.AUDIT_TRAIL_IMMEDIATE_WRITE);
END;
unifiedauditing.1437490354.txt.gz · Last modified: 2025/03/08 22:23 (external edit)