enable block change tracking

You can enable block change tracking when the database is either open or mounted.

To enable block change tracking:

  1. Start SQL*Plus and connect to a target database with administrator privileges.

  2. Ensure that the DB_CREATE_FILE_DEST initialization parameter is set.

    SHOW PARAMETER DB_CREATE_FILE_DEST

    If the parameter is not set, and if the database is open, then you can set the parameter with the following form of the ALTER SYSTEM statement:

    ALTER SYSTEM SET
    DB_CREATE_FILE_DEST = '/disk1/bct/'
    SCOPE=BOTH SID='*';
  3. Enable block change tracking.

    Execute the following ALTER DATABASE statement:

    ALTER DATABASE ENABLE BLOCK CHANGE TRACKING;

    You can also create the change tracking file in a location that you choose yourself by using the following form of SQL statement:

    ALTER DATABASE ENABLE BLOCK CHANGE TRACKING
    USING FILE '/mydir/rman_change_track.f' REUSE;

    The REUSE option tells Oracle Database to overwrite any existing block change tracking file with the specified name.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29196873/viewspace-1129422/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/29196873/viewspace-1129422/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值