Home > Database > Mysql Tutorial > Oracle 11g中块修改跟踪

Oracle 11g中块修改跟踪

WBOY
Release: 2016-06-07 17:21:42
Original
1232 people have browsed it

block change tracking 是从Oracle 10g开始提供的功能,在系统中默认关闭当启用该共功能后,每当数据块发生改变时,相关信息就会

block change tracking 是从Oracle 10g开始提供的功能,在系统中默认关闭
当启用该共功能后,每当数据块发生改变时,相关信息就会记录在该文件中
这样当RMAN进行增量备份时,,就不用完全遍历整个数据文件,查找需要备份的数据块
从而极大地提高了备份的效率

1.确认该功能状态
 SQL> desc v$block_change_tracking;
 名称
 ----------------------------------
 STATUS
 FILENAME
 BYTES
SQL>
SQL> select * from v$block_change_tracking;  //默认disabled
STATUS    FILENAME                  BYTES     
----------    ------------------------    ----------
DISABLED

2.启动该功能   
11g中必须指定文件名称
SQL> alter database enable block change tracking using file 'e:\app\oraclebase\oradata\orcl\rman\block_change_tracking.log';
而10g中有默认文件名称,用下面的语句即可
SQL>alter database enable block change tracking;

3.关闭该功能
SQL>alter database disable block change tracking; 

linux

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template