Chinaunix首页 | 论坛 | 博客
  • 博客访问: 929641
  • 博文数量: 358
  • 博客积分: 8185
  • 博客等级: 中将
  • 技术积分: 3751
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-15 16:27
个人简介

The views and opinions expressed all for my own,only for study and test, not reflect the views of Any Company and its affiliates.

文章分类

全部博文(358)

文章存档

2012年(8)

2011年(18)

2010年(50)

2009年(218)

2008年(64)

我的朋友

分类:

2008-12-30 22:01:03

Diagnositic Files
Contain information about signiificant events encountered.
 
Several types exist:
・alertSID.log
  Records the commands;Records results of major events
   Used for day-to-day operational information;Used for diagnosing database errors;
   Location defined by BACKGROUND_DUMP_DEST
・Background Trace Files: SID_processname_PID.trc
   Log errors detected by any background process;
   Location defined by 
・User Trace Files:Files: SID_ora_PID.trc
   produced by the user process
   can be generated by a server process
   Location defined by USER_DUMP_DEST
 
Enable/Disable User Tracing
  Session level:
    ①SQL>alter session set sql_trace =true;
    ②SQL>dbms_system.SET_SQL_TRACE_IN_SESSION
  Instance level
    setting the imitialization parameter:
      SQL_Trace =TRUE
 
阅读(616) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~