Data Block Corruption (資料區塊損毀)範例:

ORA-01578: ORACLE 資料區塊損毀 (檔案編號 24, 區塊編號 14129)
ORA-01110: 資料檔 24: 'D:\ORACLE\ORADATA\TESTDB\DATA01.DBF'
ORA-02063: 在 2 lines 之前, 自 TESTDB

SQL Script for looking for the segment that has block corruption:
>>
select segment_type, segment_name, owner    
from sys.dba_extents    
where file_id = 24 and 14129 between block_id and block_id + blocks - 1;


>>

如果index segment 損毀,請重建index.
如果table segment 損毀,如有可能的話刪除並重新建立table.

 

arrow
arrow
    全站熱搜

    DanBrother 發表在 痞客邦 留言(0) 人氣()