• Oracle 9i,10g,11g各自alert日志的位置


    10g&9i的alert日志:

    进入oracle:
    [zhangshengdong@oralocal1 ~]$ sudo su - oracle
    [oracle@oralocal1 ~]$ sqlplus "/as sysdba"

    SQL> select * from v$version; (查看一下版本)

    SQL> show parameter dump;(查看一下dump)

    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    background_core_dump                 string      partial
    background_dump_dest                 string      /ora/OraHome/admin/oracle9i/bd
                                                     ump
    core_dump_dest                       string      /ora/OraHome/admin/oracle9i/cd
                                                     ump
    max_dump_file_size                   string      UNLIMITED
    shadow_core_dump                     string      partial
    user_dump_dest                       string      /ora/OraHome/admin/oracle9i/ud
                                                     ump

    10g和9i的alert日志文件都在/ora/OraHome/admin/oracle9i/bdump中

    [oracle@oralocal1 ~]$ cd /ora/OraHome/admin/oracle9i/bdump
    [oracle@oralocal1 bdump]$ ls
    alert_oracle9i.log


    11g的alert日志发生了改变:

    SQL> col name format a20;
    SQL> col value format a40;
    SQL> select name,value From v$diag_info;

    NAME                 VALUE
    -------------------- ----------------------------------------
    Diag Enabled         TRUE
    ADR Base             f:appzsd
    ADR Home             f:appzsddiag dbmsoracle11goracle11
                         g

    Diag Trace           f:appzsddiag dbmsoracle11goracle11
                         g race

    Diag Alert           f:appzsddiag dbmsoracle11goracle11
                         galert


    NAME                 VALUE
    -------------------- ----------------------------------------
    Diag Incident        f:appzsddiag dbmsoracle11goracle11
                         gincident

    Diag Cdump           f:appzsddiag dbmsoracle11goracle11
                         gcdump

    Health Monitor       f:appzsddiag dbmsoracle11goracle11
                         ghm

    Default Trace File   f:appzsddiag dbmsoracle11goracle11
                         g raceoracle11g_ora_1864.trc


    alert日志就在:
    f:appzsddiag dbmsoracle11goracle11g raceaalert_ora11g.log
    f:appzsddiag dbmsoracle11goracle11galertlog.xml
    这两个文件中

  • 相关阅读:
    【转载】褪去华衣 裸视学习 探讨系列
    最简单的视频网站(JavaEE+FFmpeg)
    过段时间要换博客了
    计网3
    计网1
    物理层计算题
    计网4
    子网划分与CIDR
    百度=残留在墙后的垃圾
    计网2
  • 原文地址:https://www.cnblogs.com/moonfans/p/11312094.html
Copyright © 2020-2023  润新知