zoukankan      html  css  js  c++  java
  • 052-124

    You executed the following commands to find the location of the alert log file:
    SQL> SHOW PARAMETER BACKGROUND_DUMP_DEST
    NAME TYPE VALUE
    -------------------- -------- ------------------------------------------

    background_dump_dest string /u01/app/oracle/diag/rdbms/orcl/orcl/trace
    SQL> SHOW PARAMETER DIAGNOSTIC_DEST
    NAME TYPE VALUE
    ---------------- ----------- ----------------
    diagnostic_dest string /u01/app/oracle
    Where is the alert log file stored? (Choose all that apply.)
    A.in the BACKGROUND_DUMP_DEST location; in text format
    B.in the BACKGROUND_DUMP_DEST location; in XML format
    C.in the BACKGROUND_DUMP_DEST location; in both text and XML format
    D.in the DIAGNOSTIC_DEST/diag/rdbms/orcl/orcl/alert directory; in text format
    E.in the DIAGNOSTIC_DEST/diag/rdbms/orcl/orcl/alert directory; in XML format
    F.in the DIAGNOSTIC_DEST/diag/rdbms/orcl/orcl/alert directory; in both text and XML format

    $ORACLE_BASE/diag/rdbms/<db_name>/<SID>/alert 目录中有一个 XML 版本的预警日志
    要通过 SQL*Plus 确定预警日志的位置,请执行以下操作:
    • 使用 SQL*Plus(或其它查询工具,如 SQL Developer)连接到数据库。
    • 查询 V$DIAG_INFO 视图。
    要查看不带 XML 标记的纯文本预警日志,请执行以下操作:
    • 在 V$DIAG_INFO 查询结果中,记下对应于 Diag Trace 条目的路径。将目录更改至该路径。
    • 使用文本编辑器打开 alert_SID.log 文件。
    要查看 XML 格式的预警日志,请执行以下操作:
    • 在 V$DIAG_INFO 查询结果中,记下对应于 Diag Alert 条目的路径。将目录更改至该路径。
    • 使用文本编辑器打开 log.xml 文件。

  • 相关阅读:
    Java 对文件的操作
    快速排序算法
    Java 时间和字符换的处理
    Redis 数据结构之Keys
    [转] Redis系统性介绍
    【转】JAVA 接口
    [转] Python 代码性能优化技巧
    几道关于面试的题目
    随手笔记2
    随手笔记
  • 原文地址:https://www.cnblogs.com/Babylon/p/8028758.html
Copyright © 2011-2022 走看看