錯誤示例:
block corrupt 的log
Current log#
***
Corrupt block relative dba:
Fractured block found during buffer read
Data in bad block
解決方法
用Oracle的工具包
首先需要用dbms_repair
具體過程的說明
DBMS_REPAIR
schema_name IN VARCHAR
object_name IN VARCHAR
partition_name IN VARCHAR
object_type IN BINARY_INTEGER DEFAULT TABLE_OBJECT
repair_table_name IN VARCHAR
flags IN BINARY_INTEGER DEFAULT NULL
relative_fno IN BINARY_INTEGER DEFAULT NULL
block_start IN BINARY_INTEGER DEFAULT NULL
block_end IN BINARY_INTEGER DEFAULT NULL
corrupt_count OUT BINARY_INTEGER);
DBMS_REPAIR
schema_name IN VARCHAR
object_name IN VARCHAR
partition_name IN VARCHAR
object_type IN BINARY_INTEGER DEFAULT TABLE_OBJECT
repair_table_name IN VARCHAR
flags IN BINARY_INTEGER DEFAULT NULL
fix_count OUT BINARY_INTEGER);
DBMS_REPAIR
schema_name IN VARCHAR
object_name IN VARCHAR
object_type IN BINARY_INTEGER DEFAULT TABLE_OBJECT
flags IN BINARY_INTEGER DEFAULT SKIP_FLAG);
dbv
你也可以用dbv工具看一下你現在其他的數據文件有沒有還有壞塊的
dbv file=
具體的恢復方法
在Oracle數據庫出現壞塊時
ORA
ORA
請注意
[
From:http://tw.wingwit.com/Article/program/SQL/201311/16300.html