Oracle 11g RAC修改靜態引數

feelpurple發表於2016-06-29
--只需重啟例項,不要重啟資料庫

09:58:09 sys@PTFDB> ALTER SYSTEM SET AUDIT_TRAIL=DB,EXTENDED SCOPE=SPFILE;

System altered.

Elapsed: 00:00:00.14
09:58:18 sys@PTFDB> show parameter audit

NAME     TYPE VALUE
------------------------------------ ----------- ------------------------------
audit_file_dest     string /u01/app/oracle/admin/ptfdb/ad
ump
audit_sys_operations     boolean TRUE
audit_syslog_level     string
audit_trail     string DB
09:58:57 sys@PTFDB> alter system set AUDIT_SYS_OPERATIONS=TRUE SCOPE=SPFILE;

System altered.

Elapsed: 00:00:00.02
09:59:03 sys@PTFDB> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
09:59:30 sys@PTFDB> startup
ORACLE instance started.

Total System Global Area 9420095488 bytes
Fixed Size    2236248 bytes
Variable Size 3925868712 bytes
Database Buffers 5469372416 bytes
Redo Buffers   22618112 bytes
Database mounted.
Database opened.
10:00:04 sys@PTFDB> show parameter audit

NAME     TYPE VALUE
------------------------------------ ----------- ------------------------------
audit_file_dest     string /u01/app/oracle/admin/ptfdb/ad
ump
audit_sys_operations     boolean TRUE
audit_syslog_level     string
audit_trail     string DB, EXTENDED

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26506993/viewspace-2121182/,如需轉載,請註明出處,否則將追究法律責任。

相關文章