官术网_书友最值得收藏!

Block corruption due to NOLOGGING

If a NOLOGGING (or UNRECOVERABLE) operation is performed on an object and the datafile containing that object is subsequently recovered, then the data blocks affected by the NOLOGGING operation are marked as corrupt and will signal an ORA-1578 error when accessed. In Oracle 8i, an ORA-26040 is also signaled (ORA-26040: Data block was loaded using the NOLOGGING option) which makes the cause fairly obvious, but earlier releases have no additional error message. If a block is corrupt due to recovery through a NOLOGGING operation, you need to understand that:

  • Recovery cannot retrieve the NOLOGGING data
  • No data is salvageable from inside the block

If this is your situation, please note that:

  • The indexes with corrupt blocks can be dropped and re-created
  • The corrupt tables can be dropped and built from an alternative data source
  • The datafile(s) impacted by the NOLOGGING operations can be refreshed from the primary or the backup which was completed after the NOLOGGING operation
  • Or a combination of the preceding points

Currently in Oracle 9i and Oracle 10g R1, only the primary database v$datafile view reflects NOLOGGING operations. In Oracle 10g R2, the v$datafile view was enhanced to include information regarding when an invalidation redo is applied and the aforementioned corrupted blocks are written to the corresponding datafile on a Redo Apply (or media recovery or standby) instance.

主站蜘蛛池模板: 阿坝| 绥阳县| 延庆县| 视频| 阿鲁科尔沁旗| 布尔津县| 永城市| 霍山县| 周至县| 静海县| 河西区| 兴文县| 雅江县| 无锡市| 遵义市| 定陶县| 榆社县| 周宁县| 安多县| 望城县| 偃师市| 吉木萨尔县| 江西省| 岳西县| 广元市| 洪湖市| 大新县| 平南县| 涿州市| 德安县| 准格尔旗| 连城县| 崇信县| 寿阳县| 轮台县| 新密市| 尼玛县| 舒城县| 中卫市| 南溪县| 天津市|