zoukankan      html  css  js  c++  java
  • Oracle oerr工具介绍

    (1)什么是oerr

    oerr是Oracle提供的在UNIX/Linux上查看Oracle错误的小工具,使用起来非常方便。

    (2)如何使用

    oerr工具位于ORACLE_HOME下面,可以使用which查看

    [oracle@redhat6 ~]$ which oerr
    /u01/app/oracle/product/11.2.0/db_1/bin/oerr

    使用oerr查看Oracle的报错信息及解决方案

    例子1.使用oerr查看ORA-00060错误的原因及解决方案

    [oracle@redhat6 ~]$ 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错误的原因及解决方案

    [oracle@redhat6 ~]$ oerr ora 01502
    01502, 00000, "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
  • 相关阅读:
    2020 8 17 每日总结
    2020 8 9 每周总结
    2020 8 15 每日总结
    2020 8 13 每日总结
    2020 8 16 每日总结
    2020 811 每日总结
    2020 8 14 每日总结
    图的储存 各种方式的优缺点
    主席树 可持久化线段树基础知识入门详解
    NOIP复赛涉及面最广的知识点简述
  • 原文地址:https://www.cnblogs.com/lijiaman/p/9300793.html
Copyright © 2011-2022 走看看