随笔 - 25  文章 - 0 评论 - 1 trackbacks - 0

网上些解决方法,就是关闭审计,之前也有同事推荐这样,下面就是关闭审计的步骤。

VALUE=DB即审计开启,改成FALSE即可。

 

SQL> show parameter audit_trail;

NAME                     TYPE     VALUE
------------------------------------ ----------- ------------------------------
audit_trail                 string     DB
SQL> alter system set audit_trail=FALSE scope=spfile;

System altered.

SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.

Total System Global Area  776646656 bytes
Fixed Size            2257272 bytes
Variable Size          511708808 bytes
Database Buffers      255852544 bytes
Redo Buffers            6828032 bytes
Database mounted.
Database opened.
SQL> show parameter audit_trail;

NAME                     TYPE     VALUE
------------------------------------ ----------- ------------------------------
audit_trail                 string     FALSE
SQL> 

 

 

有时还需要将另一个参数修改 

audit_sys_operations 如果这个参数值不是false,则需要修改成false
alter  system  set audit_sys_operations=FALSE  scope=spfile;

 

 
SQL> show  parameter  audit; 

NAME                     TYPE     VALUE
------------------------------------ ----------- ------------------------------
audit_file_dest              string     /u01/app/oracle/admin/oadb/adu
                         mp
audit_sys_operations             boolean     FALSE
audit_syslog_level             string
audit_trail                 string     FALSE
SQL> 

 

posted on 2019-10-24 11:12  牛肉丨火锅  阅读(...)  评论(...编辑  收藏