oracle 10g 開啟BLOCK CHANGE TRACKING
1.檢查BLOCK CHANGE TRACKING狀態
SQL> select filename,status,bytes from v$block_change_tracking;
SQL> select filename,status,bytes from v$block_change_tracking;
FILENAME STATUS BYTES
---------------------------- ---------- ----------
DISABLED
---------------------------- ---------- ----------
DISABLED
2.資料庫到mount狀態
SQL> startup mount force
ORACLE 例程已經啟動。
SQL> startup mount force
ORACLE 例程已經啟動。
Total System Global Area 612368384 bytes
Fixed Size 1250428 bytes
Variable Size 230689668 bytes
Database Buffers 373293056 bytes
Redo Buffers 7135232 bytes
資料庫裝載完畢。
SQL> select status from v$instance;
Fixed Size 1250428 bytes
Variable Size 230689668 bytes
Database Buffers 373293056 bytes
Redo Buffers 7135232 bytes
資料庫裝載完畢。
SQL> select status from v$instance;
STATUS
------------
MOUNTED
------------
MOUNTED
3.開啟BLOCK CHANGE TRACKING
SQL> alter database enable block change tracking;
alter database enable block change tracking
*
第 1 行出現錯誤:
ORA-19773: 必須指定更改跟蹤檔名
SQL> alter database enable block change tracking using file 'D:\oracle\product\bct.trc';
資料庫已更改。
SQL> alter database open;
資料庫已更改。
SQL> col filename for a50
SQL> select filename,status,bytes from v$block_change_tracking;
SQL> select filename,status,bytes from v$block_change_tracking;
FILENAME STATUS BYTES
-------------------------------------------------- ---------- ----------
D:\ORACLE\PRODUCT\BCT.TRC ENABLED 11599872
-------------------------------------------------- ---------- ----------
D:\ORACLE\PRODUCT\BCT.TRC ENABLED 11599872
4.檢查增量備份相關資訊SQL
SQL> SELECT file#,avg(datafile_blocks),avg(blocks_read),avg(blocks_read/datafile_blocks)*100 AS PCT_READ_FOR_BACKUP,avg(blocks) FROM v$backup_datafile WHERE used_change_tracking='YES' AND incremental_level>0 GROUP BY file#;
SQL> SELECT file#,avg(datafile_blocks),avg(blocks_read),avg(blocks_read/datafile_blocks)*100 AS PCT_READ_FOR_BACKUP,avg(blocks) FROM v$backup_datafile WHERE used_change_tracking='YES' AND incremental_level>0 GROUP BY file#;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17997/viewspace-614495/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 啟用oracle block change trackingOracleBloC
- oracle 的 BLOCK CHANGE TRACKINGOracleBloC
- Oracle Block Change Tracking功能OracleBloC
- oracle 10g R2 Block change tracking 新特性Oracle 10gBloC
- oracle 10g中使用block change tracking加快增量備份Oracle 10gBloC
- Block Change Tracking (Oracle 塊修改跟蹤)BloCOracle
- Oracle10g新增BLOCK CHANGE TRACKING功能OracleBloC
- 啟用Block Change Tracking-10g新特性BloC
- Oracle RMAN 增量備份優化方法(啟用 Block Change Tracking特性)Oracle優化BloC
- Oracle 塊修改跟蹤 (Block Change Tracking) 說明OracleBloC
- 10g中的塊修改跟蹤特性(Block Change Tracking)BloC
- ZT 啟用Block Change Tracking-10g新特性BloC
- XTTS全備開啟BCT後等待事件 block change tracking buffer spaceTTS事件BloC
- 加快RMAN增量備份的速度(block change tracking特性)BloC
- Oracle OCP 1Z0 O53 Q78(RMAN block change tracking)OracleBloC
- block change tracking檔案可以放在flash_recovery_area裡!BloC
- sqlserver Change Data Capture&Change TrackingSQLServerAPT
- Entity Framework Tutorial Basics(19):Change TrackingFramework
- 適用於rman增級備份之資料庫特性db block change tracking學習思路資料庫BloC
- Oracle OCP 1Z0 053 Q662(rman change tracking file)Oracle
- 初探SQL Server 2008 Change TrackingSQLServer
- Oracle OCP 1Z0 053 Q78(RMAN&change tracking file)Oracle
- oracle 10g change crs status unknown to offlineOracle 10g
- How To Change The Oracle Hidden Parameters In Oracle 10g [ID 315631.1]Oracle 10g
- How to change VIP and VIP/Hostname in 10g
- 開啟oracle 10g的sga自動管理-ammOracle 10g
- ORA-01788: CONNECT BY clause required in this query block For ORACLE 10GUIBloCOracle 10g
- 開機自動啟動Oracle 10g on centos5.6Oracle 10gCentOS
- oracle dump blockOracleBloC
- oracle block type!OracleBloC
- ORACLE BLOCK DUMPOracleBloC
- oracle hot blockOracleBloC
- oracle 10g em啟動失敗Oracle 10g
- Oracle ASM Active Change DirectoryOracleASM
- oracle block phisical address to block#OracleBloC
- ORA-00607: Internal error occurred while making a change to a data blockErrorWhileBloC
- Oracle 10g RAC 啟動與關閉Oracle 10g
- oracle 10g em啟動失敗 續Oracle 10g