oracle數據庫system表空間增加過大的問題

網上些解決方法,就是關閉審計,以前也有同事推薦這樣,下面就是關閉審計的步驟。oracle

VALUE=DB即審計開啓,改爲FALSE便可。app

 

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> 

 

 

有時還須要將另外一個參數修改 spa

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> 
相關文章
相關標籤/搜索