eygle.com   eygle.com
eygle.com  
 

« 泰山之巅 | Blog首页 | Oracle10g与各版本的连通性 »

Oracle10g:v$session_wait_history视图

作者:eygle |【转载时请以超链接形式标明文章和作者信息及本声明
链接:
为了更有效的保留Session信息,Oracle10g新增加了一个v$session_wait_history视图
该视图用以记录活动Session的最近10次等待事件。

SQL> select event,p1text,p1,p2text,p2,p3text,p3,wait_time
  2  from v$session_wait_history where sid=120;

EVENT                         P1TEXT         P1 P2TEXT                 P2 P3TEXT   P3  WAIT_TIME
---------------------------- -------- -------- --------------- ---------- -------- -- ----------
db file sequential read      file#          14 block#               97456 blocks    1          0
row cache lock            cache id          11 mode                     0 request   3         49
row cache lock            cache id          11 mode                     0 request   3          0
db file sequential read      file#          10 block#              260171 blocks    1          1
db file sequential read      file#          14 block#              570536 blocks    1         10
db file sequential read      file#          14 block#                6363 blocks    1         12
db file sequential read      file#          14 block#               35285 blocks    1          9
db file sequential read      file#          14 block#               40674 blocks    1          9
db file sequential read      file#          14 block#               69631 blocks    1          1
db file sequential read      file#          14 block#               82498 blocks    1          3

10 rows selected


通过这个视图,Oracle将V$SESSION_WAIT延伸,从而可以获取更多的相关信息辅助数据库问题诊断。
这是Oracle10g中在ASH之外对于等待事件诊断的一个有益小改进。

 


历史上的今天...
      >> 2009-04-05文章:
             关于Oracle的Dual表
      >> 2005-04-05文章:
             使用Rman进行不完全恢复
      >> 2004-04-05文章:
------
这篇 【Oracle10g:v$session_wait_history视图】来自 eygle.com | CSDN网摘| del.icio.us|Google订阅 | 鲜果订阅 | 抓虾订阅

By eygle on 2006-04-05 16:33 | Comments (0) | Posted to Oracle10g/11g | Edit |

相关文章 随机文章
  • 如何 DUMP ASH 信息至跟踪文件
  • 10g Profile FAILED_LOGIN_ATTEMPTS如何计数?
  • The value (30) of MAXTRANS parameter ignored
  • Solaris安装Oracle10g之 libCstd.so.1 问题解决
  • 鸡肋-ORACLE10g自动收集CBO统计信息
  • 大宝 - 国有品牌又消失了一个
    在兰州 在路上 在家里
    开始架设Oracle10gR2 RAC系统
    新闻补白 - 蒙牛特仑苏 与 狂犬育苗
    上传了几款推荐的工具软件
    搜索本站:

    留言 (0)

    发表留言:



    Remember Me?
    (输入验证码后方可评论,谢谢支持)



    CopyRight © 2004~2010 eygle.com, All rights reserved.