`
fandayrockworld
  • 浏览: 312984 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

data block corrupted解决方法

阅读更多

不知道什么原因,程序中报了以下错误:

ORACLE data block corrupted (file # 8, block # 181)
data file 6:'*******.dbf'

 

查了一下,解决办法是:

1、运行select * from dba_extents where file_id=8 and 181 between block_id and block_id+blocks-1;

     目的是:找到坏块出现的文件号和块号(我查到的是一个索引有问题)。

2、删掉这个索引,重启数据库,再建上这个索引。

 

就偶了。

 

然后又找了一下产生错误的原因,这么说的:

     当ORACLE访问一个数据块时,由于1、硬件的I/O错误;2、操作系统的I/O错误或缓冲问题;3、内存或paging问题;4、ORACLE试图访问一个未被格式化的系统块失败;5、数据文件部分溢出等上述几种情况的一种引起了逻辑坏块或者物理坏块,这时就会报ORA-01578的错误。

 

乖乖,上面的5条听都没听说过,留着以后参考吧。

分享到:
评论

相关推荐

    oracle数据库操作常见错误以及解决方案

    最后,错误`ORA-1652: unable to extend temp segment by 207381 in tablespace TEMPSPACE`和`ORA-01578: Oracle data block corrupted(file # num,block # num)`提示数据块损坏。这可能是由硬件、操作系统、内存、...

    Oracle数据库操作常见错误及解决方案

    **其他错误示例:ORA-1578: Oracle data block corrupted** 这是一个表示数据块损坏的错误,可能由硬件、操作系统、内存或ORACLE自身的问题引起。处理这类问题通常涉及以下几个步骤: 1. **备份和恢复**: 在尝试...

    oracle9I的坏块错误。

    例如,我们可能会看到类似于“ORA-01578: ORACLE data block corrupted”的错误消息,这表明存在物理损坏的数据块。 坏块错误的影响广泛,可能会影响数据的完整性和一致性,导致查询失败、应用崩溃或者性能下降。...

    检测oracle数据库坏块的方法

    id+e.blocks-1, c.block#+c.blocks-1) - greatest(e.block_id, c.block#) + 1 blocks_corrupted, NULL description FROM dba extents e, v$database_block_corruption c WHERE e.file_id = c.file# AND e.block_id ...

    BURNINTEST--硬件检测工具

    data with random seeking" test mode and only occurs with some specific test settings. Release 5.3 build 1024 WIN32 release 10 July 2008 - Workaround for the rare crash bug in Vista in atklumdisp....

    oracle报错大全(珍藏版)

    #### ORA-00020: System Global Area (SGA) Corrupted 当SGA中的数据损坏时触发。可能是由于硬件故障(如内存问题)、软件缺陷或其他原因导致的数据不一致性。 #### ORA-00021: Unable to Lock Memory in Shared ...

    Oracle_数据库日常维护手册_常用SQL_脚本.txt

    例如,如果出现类似“ORA-01578: ORACLE data block corrupted (file #7, block #)”的错误,那么可能涉及到数据块的损坏。 - **处理方法**:在这种情况下,DBA首先应该尝试从最近的备份恢复损坏的数据文件。如果...

    C# 7 and .NET Core: Modern Cross-Platform Development - Second Edition

    about writing code that makes decisions, repeats a block of statements, converts between types, and handles errors. You will also learn the best places to look for help. Chapter 4, Using .NET Standard...

    DevExpress VCL 13.2.5 D7-DXE6 FullSource

    •Q574440 - TcxDBTreeList - The "EDatabase error" exception occurs when opening a bound dataset and populating it with data within the BeginUpdate/EndUpdate block •Q587123 - TcxDBTreeList - The ...

    UMTS Performance Measurement

    1.1.5.4 Corrupted Data 25 1.1.6 Basics of PS Call Analysis in UTRAN 27 1.2 Basic Architectural Concept of Performance Measurement Equipment Based on Protocol Analysis 34 1.2.1 Protocol Decoding and ...

    System Security Lecture Notes (StonyBrook CSE509)

    2. **Integrity**: Ensuring that data is not tampered with or corrupted. - Database Modifications: Restricting unauthorized changes to databases. - Memory Corruption: Preventing unauthorized ...

    Denoising 3-D magnitude magnetic resonance images based on weighted nuclear norm minimization

    This technique simply groups similar non-local cubic blocks from noisy 3D MR data into a patch matrix with each block lexicographically vectorizing to be as a column, calculates the singular value ...

    Digital and Analogue Communication Systems 2012.

    CORRUPTED BY NOISE 492 7–1 Error Probabilities for Binary Signaling 493 General Results, 493 Results for Gaussian Noise, 495 Results for White Gaussian Noise and Matched-Filter Reception, 497 Results...

    VclZip pro v3.10.1

    Due to a Delphi strange behavior sometimes path names for directory only entries would become corrupted. Removed reference to QConsts, replaced with RTLConsts. Sometimes a GPF would result if a ...

    php.ini-development

    data to the client. If your application's output exceeds this setting, PHP ; will send that data in chunks of roughly the size you specify. ; Turning on this setting and managing its maximum buffer ...

    EurekaLog_7.5.0.0_Enterprise

    EurekaLog 7.5 (18-August-2016) 1)..Important: Installation layout was changed. All packages now have version suffix (e.g. EurekaLogCore240.bpl). No files are copied to \bin folder of IDE....

Global site tag (gtag.js) - Google Analytics