oracle 12c开启关闭统一审计
--------------------开启统一审计-------------------------------------------
SQL> conn /as sysdba
SQL> shutdown immediate
SQL> exit
$ lsnrctl stop
$ cd $ORACLE_HOME/rdbms/lib
$ make -f ins_rdbms.mk uniaud_on ioracle ORACLE_HOME=$ORACLE_HOME
$ lsnrctl start
SQL> conn /as sysdba
SQL> startup
--------------------关闭统一审计------------------------------------------
SQL> conn /as sysdba
SQL> shutdown immediate
SQL> exit
$ lsnrctl stop
$ cd $ORACLE_HOME/rdbms/lib
$ make -f ins_rdbms.mk uniaud_off ioracle
$ lsnrctl start
SQL> conn /as sysdba
SQL> startup
----------------查看是否开启或关闭--------------------------------------
SQL> set linesize 1000;
SQL> select parameter,value from v$option where parameter = 'Unified Auditing';
PARAMETER VALUE
---------------------------------------------------------------- ----------------------------------------------------------------
Unified Auditing FALSE
SQL> set linesize 1000;
SQL> select parameter,value from v$option where parameter = 'Unified Auditing';
PARAMETER VALUE
---------------------------------------------------------------- ----------------------------------------------------------------
Unified Auditing TRUE