oracle数据库system表空间增长过大的问题

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

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> 

 

你可能感兴趣的:(oracle数据库system表空间增长过大的问题)