- Oracle Database 12c Backup and Recovery Survival Guide
- Francisco Munoz Alvarez Aman Sharma
- 226字
- 2021-04-02 10:19:59
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.
- 自然語言處理實戰(zhàn):預(yù)訓(xùn)練模型應(yīng)用及其產(chǎn)品化
- Angular UI Development with PrimeNG
- Python for Secret Agents:Volume II
- DevOps for Networking
- BeagleBone Media Center
- Learning SciPy for Numerical and Scientific Computing(Second Edition)
- Spring核心技術(shù)和案例實戰(zhàn)
- 零基礎(chǔ)學C語言第2版
- Unity 3D腳本編程:使用C#語言開發(fā)跨平臺游戲
- .NET Standard 2.0 Cookbook
- Redmine Cookbook
- Microsoft Exchange Server 2016 PowerShell Cookbook(Fourth Edition)
- PostgreSQL 12 High Availability Cookbook
- Python繪圖指南:分形與數(shù)據(jù)可視化(全彩)
- 微信公眾平臺開發(fā)最佳實踐