Oracle oerr工具介绍
发布时间:2020-12-12 13:30:40 所属栏目:百科 来源:网络整理
导读:(1)什么是oerr oerr是Oracle提供的在UNIX/Linux上查看Oracle错误的小工具,使用起来非常方便。 (2)如何使用 oerr工具位于ORACLE_HOME下面,可以使用which查看 [[email?protected] ~]$ which oerr /u01/app/oracle/product/ 11.2 . 0 /db_1/bin/oerr 使用
(1)什么是oerr oerr是Oracle提供的在UNIX/Linux上查看Oracle错误的小工具,使用起来非常方便。 (2)如何使用 oerr工具位于ORACLE_HOME下面,可以使用which查看 [[email?protected] ~]$ which oerr /u01/app/oracle/product/11.2.0/db_1/bin/oerr 使用oerr查看Oracle的报错信息及解决方案 例子1.使用oerr查看ORA-00060错误的原因及解决方案 [[email?protected] ~]$ oerr ora 60 00060,00000,"deadlock detected while waiting for resource" // *Cause : Transactions deadlocked one another while waiting for resources. // *Action: Look at the trace file to see the transactions and resources // involved. Retry if necessary. 例子2.使用oerr查看ORA-01502错误的原因及解决方案 [[email?protected] ~]$ oerr ora 01502 01502,"index ‘%s.%s‘ or partition of such index is in unusable state" // MERGE: 1489 RENUMBERED TO 1502 // *Cause: An attempt has been made to access an index or index partition // that has been marked unusable by a direct load or by a DDL // operation // *Action: DROP the specified index,or REBUILD the specified index,or // REBUILD the unusable index partition (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |