2009年11月30日

使用ASH监控历史会话,找出坏SQL

摘要: 使用如下脚本可以监控历史会话经历过哪些等待事件,并且按照等待次数降序排列 select session_id,event,count(*),sum(time_waited) from v$active_session_history where session_state='WAITING' a... 阅读全文

posted @ 2009-11-30 17:08 如果蜗牛有爱情 阅读(115) 评论(0) 推荐(0) 编辑

log file sync, log file parallell write

摘要: SQL> select name,parameter1,parameter2,parameter3,wait_class from v$event_name where name in( 'log file sync','log file parallel write'); NAME ... 阅读全文

posted @ 2009-11-30 13:42 如果蜗牛有爱情 阅读(197) 评论(0) 推荐(0) 编辑

log file switch completion,log file switch(checkpoint incomplete),log file switch(archiving needed)

摘要: log file switch completion,log file switch (archiving needed) log file switch (checkpoint incomplete) 这三个等待事件是没有参数的,在10g中,它位于configuration类下 SQL> se... 阅读全文

posted @ 2009-11-30 11:24 如果蜗牛有爱情 阅读(289) 评论(0) 推荐(0) 编辑

导航