Oracle数据库打不开 该怎么办?我们公司的oracle数据库坏了 打不开了,该如何处理?如果自己搞不定可以找诗檀软件专业ORACLE数据库修复团队成员帮您恢复!
诗檀软件专业数据库修复团队
Oracle的损坏/坏块 主要分以下几种:
ORA-1578
ORA-8103
ORA-1410
【oracle故障怎么调 oracle常见错误】ORA-1499
ORA-1578
ORA-81##
ORA-14##
ORA-26040
ORA-600 Errors
Block Corruption
Index Corruption
Row Corruption
UNDO Corruption
Control File
Consistent Read
Dictionary
File/RDBA/BL
ErrorDescriptionCorruption related to:
ORA-1578ORA-1578一般为Oracle检测到存在物理坏块问题,包括其检测数据块中的checksum不正确 , 或者tail_chk信息不正确等 。ORA-1578 is reported when a block is thought to be corrupt on read.
Block
数据块
OERR: ORA-1578 “ORACLE data block corrupted (file # %s, block # %s)” Master Note
OERR: ORA-1578 “ORACLE data block corrupted (file # %s, block # %s)”
Fractured Block explanation
Handling Oracle Block Corruptions in Oracle7/8/8i/9i/10g/11g
Diagnosing and Resolving 1578 reported on a Local Index of a Partitioned table
ORA-1410
ORA-1410错误常见于从INDEX或其他途径获得的ROWID,到数据表中查询发现没有对应的记录 。
该错误可能因为数据表与其索引存在不一致,也可能是分区的数据表本身存在问题 。
This error is raised when an operation refers to a ROWID in a table for which there is no such row.
The reference to a ROWID may be implicit from a WHERE CURRENT OF clause or directly from a WHERE ROWID=… clause.
ORA 1410 indicates the ROWID is for a BLOCK that is not part of this table.
Row
数据行
Understanding The ORA-1410
Summary Of Bugs Containing ORA 1410
OERR: ORA 1410 “invalid ROWID”
ORA-8103
该ORA-8103可能由多个BUG引起,例如LOB在10.2.0.4之前可能会由于BUG覆盖了另一张表的segment header,导致出现ORA-8103错误 。
诊断该问题可以从数据表的segment header和data_object_id入手 。
The object has been deleted by another user since the operation began.
If the error is reproducible, following may be the reasons:-
a.) The header block has an invalid block type.
b.) The data_object_id (seg/obj) stored in the block is different than the data_object_id stored in the segment header. See dba_objects.data_object_id and compare it to the decimal value stored in the block (field seg/obj).
Block
数据块
ORA-8103 Troubleshooting, Diagnostic and Solution
OERR: ORA-8103 “object no longer exists” / Troubleshooting, Diagnostic and Solution
ORA-8102ORA-8102常见于索引键值与表上存的值不一致 。An ORA-08102 indicates that there is a mismatch between the key(s) stored in the index and the values stored in the table. What typically happens is the index is built and at some future time, some type of corruption occurs, either in the table or index, to cause the mismatch.
Index
索引
OERR ORA-8102 “index key not found, obj# %s, file %s, block %s (%s)
ORA-1499对表和索引做交叉验证时发现问题An error occurred when validating an index or a table using the ANALYZE command.
One or more entries does not point to the appropriate cross-reference.
Index
索引
ORA-1499. Table/Index row count mismatch
OERR: ORA-1499 table/Index Cross Reference Failure – see trace file
ORA-1498Generally this is a result of an ANALYZE … VALIDATE … command.
This error generally manifests itself when there is inconsistency in the data/Index block. Some of the block check errors that may be found:-
a.) Row locked by a non-existent transaction
b.) The amount of space used is not equal to block size
c.) Transaction header lock count mismatch.
While support are processing the tracefile it may be worth the re-running the ANALYZE after restarting the database to help show if the corruption is consistent or if it ‘moves’.
Send the tracefile to support for analysis.
If the ANALYZE was against an index you should check the whole object. Eg: Find the tablename and execute:
ANALYZE TABLE xxx VALIDATE STRUCTURE CASCADE;Block
OERR: ORA 1498 “block check failure – see trace file”
ORA-26040由于采用过nologging/unrecoverable选项的redo生成机制 , 且做过对应的recover,导致数据块中被填满了0XFF,导致报错ORA-26040 。Trying to access data in block that was loaded without redo generation using the NOLOGGING/UNRECOVERABLE option.
This Error raises always together with ORA-1578
Block
数据块
OERR ORA-26040 Data block was loaded using the NOLOGGING option
ORA-1578 / ORA-26040 Corrupt blocks by NOLOGGING – Error explanation and solution
ORA-1578 ORA-26040 in a LOB segment – Script to solve the errors
ORA-1578 ORA-26040 in 11g for DIRECT PATH with NOARCHIVELOG even if LOGGING is enabled
ORA-1578 ORA-26040 On Awr Table
Errors ORA-01578, ORA-26040 On Standby Database
Workflow Tables ORA-01578 ORACLE data block corrupted ORA-26040 Data block was loaded using the NOLOGGING option
ORA-1578, ORA-26040 Data block was loaded using the NOLOGGING option
ORA-600[12700]
从索引获得的ROWID,对应到数据表时发现不存在数据行错误 。
一把是一致性度consistent read问题
Oracle is trying to access a row using its ROWID, which has been obtained from an index.
A mismatch was found between the index rowid and the data block it is pointing to. The rowid points to a non-existent row in the data block. The corruption can be in data and/or index blocks.
ORA-600 [12700] can also be reported due to a consistent read (CR) problem.
Consistent Read
一致性读
Resolving an ORA-600 [12700] error in Oracle 8 and above.
ORA-600 [12700] “Index entry Points to Missing ROWID”
ORA-600[3020]主要问题是redo和数据块中的信息不一致This is called a ‘STUCK RECOVERY’.
There is an inconsistency between the information stored in the redo and the information stored in a database block being recovered.Redo
ORA-600 [3020] “Stuck Recovery”
Information Required for Root Cause Analysis of ORA-600 [3020] (stuck recovery)
ORA-600[4194]主要是redo记录与回滚rollback/undo的记录不一致A mismatch has been detected between Redo records and rollback (Undo) records.
We are validating the Undo record number relating to the change being applied against the maximum undo record number recorded in the undo block.
This error is reported when the validation fails.Undo
ORA-600 [4194] “Undo Record Number Mismatch While Adding Undo Record”
Basic Steps to be Followed While Solving ORA-00600 [4194]/[4193] Errors Without Using Unsupported parameter
ORA-600[4193]主要是redo记录与回滚rollback/undo的记录不一致A mismatch has been detected between Redo records and Rollback (Undo) records.
We are validating the Undo block sequence number in the undo block against the Redo block sequence number relating to the change being applied.
This error is reported when this validation fails.Undo
ORA-600 [4193] “seq# mismatch while adding undo record”
Basic Steps to be Followed While Solving ORA-00600 [4194]/[4193] Errors Without Using Unsupported parameter
Ora-600 [4193] When Opening Or Shutting Down A Database
ORA-600 [4193] When Trying To Open The Database
ORA-600[4137]transaction id不匹配,问题可能存在与回滚段中或者对象本身存在讹误While backing out an undo record (i.e. at the time of rollback) we found a transaction id mis-match indicating either a corruption in the rollback segment or corruption in an object which the rollback segment is trying to apply undo records on.
This would indicate a corrupted rollback segment.Undo/Redo
ORA-600 [4137] “XID in Undo and Redo Does Not Match”
ORA-600[6101]Not enough free space was found when inserting a row into an index leaf block during the application of undo.Index
ORA-600 [6101] “insert into leaf block (undo)”
ORA-600[2103]Oracle is attempting to read or update a generic entry in the control file.
If the entry number is invalid, ORA-600 [2130] is logged.Control File
ORA-600 [2130] “Attempt to access non-existant controlfile entry”
ORA-600[4512]Oracle is checking the status of transaction locks within a block.
If the lock number is greater than the number of lock entries, ORA-600 [4512] is reported followed by a stack trace, process state and block dump.
This error possibly indicates a block corruption.Block
ORA-600 [4512] “Lock count mismatch”
ORA-600[2662]主要是发现一个数据块的SCN甚至超过了当前SCN , 常规解决途径有调整SCN等,但11.2以后Oracle公司使较多调整SCN的方法失效了A data block SCN is ahead of the current SCN.
The ORA-600 [2662] occurs when an SCN is compared to the dependent SCN stored in a UGA variable.
If the SCN is less than the dependent SCN then we signal the ORA-600 [2662] internal error.Block
ORA-600 [2662] “Block SCN is ahead of Current SCN”
ORA 600 [2662] DURING STARTUP
ORA-600[4097]访问一个回滚段头以便确认事务是否已提交时,发现XID有问题We are accessing a rollback segment header to see if a transaction has been committed.
However, the xid given is in the future of the transaction table.
This could be due to a rollback segment corruption issue OR you might be hitting the following known problem.Undo
Oracle数据库实例启动不了怎么办只能将表空间删除了,首先
shutdown immediate;
然后启动到mount状态oracle故障怎么调:
startup mount;
确定oracle故障怎么调你少了那些文件:
sys@ORCLselect * from v$recover_file;
FILE# ONLINEONLINE_ ERROR
---------- ------- ------- -----------------
4 ONLINEONLINEFILE NOT FOUND
除了system和sysaux表空间以外,其它的表空间删除就行了 , 执行下面语句,使表空间的数据文件offline:
Oracle 触发器调试及遇到相关问题解决今天在项目中遇到一个比较棘手的问题oracle故障怎么调,需要用到触发器 。在编写触发器和调试过程中遇到下列问题,在此记录一下oracle故障怎么调:
由于之前写的触发器都能正常运行 , 就没有涉及到触发器的调试,今天发现触发器没起作用,需要调试,竟不知道在哪儿调试 。在网上借鉴一些别人的经验(),记录一下 。在PL/SQL中 , 触发器的调试方法如下:
1,选中要调试的触发器,右击 , 然后勾选 Add debug information,只有勾选这个按钮后,调试才能进入到断点 。
2,选中触发器,点击 Edit,到Edit 界面,在要调试的行号前面单击,或者右键,添加断点 。
3,在菜单的新建中选择“测试窗口” , 打开一个如下块,在begin和end中间添加能触发触发器的语句
4,按F9或者点击调试菜单中的开始菜单,进入运行调试状态(后面的红框是单步进入)
5 , 点击运行图标跳到触发器中断点位置
6 , 鼠标放到变量上可以显示变量值 。
7 , 如果有异常,就弹出相关异常信息 。
调试的时候发现new对象的日期格式为中文,而后面又需要yyyy-mm-dd 的格式来作为查询条件 。所以就在赋值的时候转换一下 。
在select into 给变量赋值的时候 , select 查询出来的集合为空,导致报错ORA-01403,解决方案就是将这一段用begin end 包裹起来,抛出改异常的时候给变量一个默认值 。如下图:
Oracle错误 ORA-12560如何解决造成ORA-12560:
TNS:
协议适配器错误的问题的原因有三个:
1.监听服务没有起起来 。windows平台个一如下操作:开始---
程序
---
管理工具
---服务,打开服务面板,
启动oraclehome92TNSlistener服务 。
2.database
instance没有起起来 。windows平台如下操作:开始---程序---管理工具---服务 , 打开服务
面板,启动oracleserviceXXXX,XXXX就是你的database
SID.
3.
注册表
问题 。regedit,然后进入HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0将该
环境变量
ORACLE_SI
D设置为XXXX,XXXX就是你的database
SID.或者右几
我的电脑
, 属性--高级--环境变量---
系统变量
--新建
,
变量
名=oracle_sid,
变量值
=XXXX,XXXX就是你的database
SID.或者进入sqlplus前,在command
line下
输set
oracle_sid=XXXX,XXXX就是你的database
SID.
oracle ORA-01033问题怎么解决客户Oracle服务器进入PL/SQL Developer时报ora-01033:oracle initializationg or shutdown in progress 错误提示 , 应用系统无法连接Oracle服务 。经远程指导解决问题 。过程如下:
1、进入CMD,执行set ORACLE_SID=fbms , 确保连接到正确的SID;
2、运行sqlplus "/as sysdba"
SQLshutdown immediate停止服务
SQLstartup启动服务,观察启动时有无数据文件加载报错 , 并记住出错数据文件标号
SQLshutdown immediate再次停止服务
SQLstartup mount
SQL recover datafile 2恢复出错的数据文件
SQLshutdown immediate再次停止服务
SQLstartup启动服务,此次正常 。
3、进入PL/SQL Developer检查,没有再提示错误 。
还启动不了,可能就是文件的问题,不过好像也有解决办法,你先看看这个好使不?其他的我再找找哈
oracle故障怎么调的介绍就聊到这里吧 , 感谢你花时间阅读本站内容,更多关于oracle常见错误、oracle故障怎么调的信息别忘了在本站进行查找喔 。
推荐阅读
- 直播伴侣怎么直播抖音,直播伴侣怎么直播抖音呢
- 关于国外10款开源的Html5小游戏的信息
- 抖音视频配音小程序有哪些,抖音做视频配音的软件
- 手机cctv5直播软件,cctv5手机在线直播软件
- linux命令行光标命令 linux命令行光标消失
- cpu是什么内容,cpu是什么?它的作用是什么
- 硬盘三个接口怎么安装,硬盘上3个接头干嘛的
- 什么视频播放量可以增加,什么播放量能赚钱
- go语言框架beego go语言框架排名