161 Examine the following command used to perform incremental level 0 backup: RMAN> BACKUP INCREMENT

本文讨论了如何在启用块更改跟踪后,通过执行增量级别0备份和随后的累积级别1备份来优化备份过程。重点介绍了块更改跟踪文件在备份过程中的作用及其在后续备份中的利用方式。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

161
Examine the following command used to perform incremental level 0 backup: RMAN>
BACKUP
INCREMENTAL LEVEL 0 DATABASE;
To enable the block change tracking, after the incremental level 0 backup you issued the following
command:
SQL> ALTER DATABASE ENABLE BLOCK CHANGE TRACKING USING FILE '/mydir/
rman_change_track.f';
To perform incremental level 1 cumulative backup, you issued the following command: RMAN>
BACKUP INCREMENTAL LEVEL 1 CUMULATIVE DATABASE;
Which two statements are true in the above situation? (Choose two.)
A. The block change tracking data will be used only from the next incremental 0 backup.
B. The incremental backup will use change tracking data for accomplishing the backup.
C. The incremental backup will not use change tracking data for accomplishing the backup.
D. The block track file will scan all the blocks and create bitmap for all the blocks backed up in the level 0

backup.









Correct Answer: AC
Section: (none)
Explanation
Explanation/Reference:
Explanation:
http://www.pythian.com/documents/Pythian-oracle-block-change.pdf
After enabling change tracking, the first level 0 incremental backup still has to scan the entire datafile, as
the change tracking file does not yet reflect the status of the blocks. Subsequent incremental backup that
use this level 0 as parent will take advantage of the change tracking file.
When some a chunk needs to be marked dirty for the first time after incremental backup, version
information in bitmap extent headers (X$KRCFBH) is initialized - XFLAGS is set to 2, CURR_VERCNT and
CURR_VERTIME filled from datafile descriptor. If file had no changes since last incremental backup -
nothing is written to the bitmap.
There is no difference in handling different backup levels. Version is created in the same way whether its
level 0, level 1 or level 4 backup. By the way, it seems that Oracle 10g documentation officially mentions
only support for levels 0 and 1. However, I checked incremental backup levels up to 4 and they do work
(10.2.0.2).
Oracle Press 1Z0-053 Exam Guide, Chapter 4: Creating RMAN Backups
The first incremental level 0 backup reads every block in the datafile, and subsequent incremental level 1
backups use the block change tracking file. No reference to create bitmap found.
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/bkup004.htm#i1032148
RMAN's change tracking feature for incremental backups improves incremental backup performance by
recording changed blocks in each datafile in a change tracking file. If change tracking is enabled, RMAN
uses the change tracking file to identify changed blocks for incremental backup, thus avoiding the need to
scan every block in the datafile.

Using change tracking in no way changes the commands used to perform incremental backups, and the
change tracking files themselves generally require little maintenance after initial configuration.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值