[20131013]rman 在12c的預設設定.txt

lfree發表於2013-10-14
[20131013]rman 在12c的預設設定.txt

SCOTT@test01p> @ver

BANNER                                                                               CON_ID
-------------------------------------------------------------------------------- ----------
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production              0

SCOTT@test01p> show con_name

CON_NAME
------------------------------
TEST01P

--這個是有pluggable database存在的情況。

RMAN> show all ;

using target database control file instead of recovery catalog
RMAN configuration parameters for database with db_unique_name TEST are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
CONFIGURE RMAN OUTPUT TO KEEP FOR 7 DAYS; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'D:\APP\ORACLE\PRODUCT\12.1.0\DBHOME_1\DATABASE\SNCFTEST.ORA'; # default

--可以發現預設CONFIGURE CONTROLFILE AUTOBACKUP ON; # default,而在11G以前這個預設引數是off。
--還多了一行
--CONFIGURE RMAN OUTPUT TO KEEP FOR 7 DAYS; # default

--據說12c沒有pluggable database存在的情況下,預設CONTROLFILE AUTOBACKUP是off,沒有測試環境無法測試。

CONFIGURE RMAN OUTPUT TO KEEP FOR 7 DAYS;
這個引數設定了 V$RMAN_OUTPUT保留的天數。

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

相關文章