10条有关备份恢复的良好习惯 (ZT)
上一篇 / 下一篇 2008-06-17 11:47:11 / 个人分类:文摘
H,i&@3P5}Q.nv0发表于: 2007.11.05 18:28
nUi$\ ~/Q$t%D]Z@0分类: oracle
aBdb$Tk.]0出处: http://shiyihai.itpub.net/post/2333/411216
0Oz1`'s"n7Z:EZ#d0---------------------------------------------------------------
0r9f+Ba9RS_+f U0
This document assumes that you are doing the Backup and Recovery basics
$pn"s(q0R H Q|1MY0- Running in Archivelog modeITPUB个人空间a
|XOPp#f1w
- multiplexing the controlfileITPUB个人空间s!BW)VkG8W
- Taking regular backupsITPUB个人空间Fqma/J
j
- Periodically doing a complete restore to test your procedures.
ITPUB个人空间U
cb6Cr'Sh2s
Questions and Answers
J&Xh\V1Xv!PL01. Turn on block checking.
]?x5r/XM%j&N/Q
{0REASON: The aim is to detect, very early the presence of corrupt blocks in the database.
z?&]~ I!m~0This has a slight performance overhead, but Checksums allow Oracle to detect earlyITPUB个人空间r[]
AkX
corruption caused by underlying disk, storage system, or I/O system problems.
SQL> alter system set db_block_checking = true scope=both;
'np*R(_\2a02. Turn on block tracking when using RMAN backups (if running 10g)ITPUB个人空间a8f(| j6L5z)_
REASON: This will allow RMAN to backup only those blocks that have changed since the last full
hKP.m8W"AV_0backup, which will reduce the time taken to back up, as less blocks will be backed up.
SQL> alter database enable block change tracking using file ‘/u01/oradata/ora1/change_tracking.f’;
ITPUB个人空间-q)au(D j^7EP
3. Duplex log groups and members and have more than one archive log dest.ITPUB个人空间!?1`8Qk&\,HY2FgH$f
REASON: If an archivelog is corrupted or lost, by having multiple copies in multiple locations,
z3I%d$W0t1U/M0aD8Z9D&T0the other logs will still be available and could be used.
If an online log is deleted or becomes corrupt, you will have another member that can be