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
  • 相关阅读:
    各个数字类型取值范围以及推理
    进制转换原理
    位运算操作符_
    读取文件内容
    java中thread的start()和run()的区别
    二进制的负数转换
    位运算符号
    Hadoop的辉煌还能延续多久?
    Hadoop 新 MapReduce 框架 Yarn 详解
    MapReduce工作原理讲解
  • 原文地址:https://www.cnblogs.com/lijiaman/p/9300793.html
Copyright © 2011-2022 走看看