ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Dumps的分类

Dumps的分类

原创 Linux操作系统 作者:jinqibingl 时间:2010-08-20 23:37:29 0 删除 编辑

Dumps的分类

dump 2010-02-26 23:00:54 阅读3 评论0   字号:大中小 订阅

Immediate Dumps

There are three ways of specifying an immediate dump

Immediate dumps can be specified using the ALTER SESSION command

    ALTER SESSION SET EVENTS
    'immediate trace name dump level level';

Immediate dumps can be specified in ORADEBUG

    ORADEBUG DUMP dump level 

Immediate dumps can also be specified using the DBMS_SYSTEM.SET_EV procedure

    EXECUTE dbms_system.set_ev (sid,serial#,65535,level,'dump');

Immediate dumps cannot be invoked from init.ora

Conditional Dumps

Conditional dumps are invoked when an error occurs

Conditional dump can be specified in the init.ora file e.g

    event="error trace name dump level level"

Conditional dumps can be specified in the current session

    ALTER SESSION SET EVENTS
    'error trace name dump level level';

Conditional dumps can be specified in ORADEBUG

    ORADEBUG EVENT error trace name dump level level ORADEBUG SESSION_EVENT error trace name dump level level
 http://www.juliandyke.com/Diagnostics/Dumps/Dumps.html#ImmediateDumps

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9606200/viewspace-671513/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2010-08-19

  • 博文量
    154
  • 访问量
    325255