ZT 啟用Block Change Tracking-10g新特性

asword發表於2009-02-01
Block chage tracking是Oracle10g的一個,Block change tracking程式記錄自從上一次以來資料塊的變化,並把這些資訊記錄在跟蹤檔案中。RMAN使用這個檔案判斷增量備份中需要備份的變更資料。這極大的促進了備份效能,RMAN可以不再掃描整個檔案以查詢變更資料。[@more@]

啟用跟蹤可以使用如下命令:


alter database enable block change tracking using file '/data5/flash_recovery_area/EYGLE/eygle_block_track.log';

判斷當前設定可以查詢:

select filename,status,bytes from v$block_change_tracking;

關閉跟蹤:

alter database disable block change tracking;

以下步驟供參考:

SYS AS SYSDBA on 29-MAR-05 >alter database enable block change tracking using 2 file '/data5/flash_recovery_area/EYGLE/eygle_block_track.log'; Database altered. SYS AS SYSDBA on 29-MAR-05 >select filename,status,bytes from v$block_change_tracking; FILENAME -------------------------------------------------------------------------------- STATUS BYTES ---------- ---------- /data5/flash_recovery_area/EYGLE/eygle_block_track.log ENABLED 11599872 SYS AS SYSDBA on 29-MAR-05 >alter database disable block change tracking; Database altered. SYS AS SYSDBA on 29-MAR-05 >select filename,status,bytes from v$block_change_tracking; FILENAME -------------------------------------------------------------------------------- STATUS BYTES ---------- ---------- DISABLED

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

相關文章