Oracle Wait Interface学习笔记(3) Common Wait Events(4)

(OWI学习笔记索引)

Log file switch(archiving needed)

LGWR要切换到下一个redo log group时发现arch进程尚未将该日志组写道archived log  file destination,此时就会出现该等待事件。

Log file switch(checkpoint incomplete)

LGWR试图切换日志文件时由于checkpoint尚未完成导致的等待。这一事件一般是在redo log files过小的情况下出现。

Log file switch completion

进程等待log file switch to complete.

Log file sync

用户完成一个事物后commit或者rollback都会触发LGWRredo log写入online redo log。用户进程等待LGWR进程完成写入redo logIO过程就会产生该等待事件。

如果一个用户遇到log file sync等待事件,通过v$session_wait查看发现它一直在等待同一个buffer#(P1),那么v$session_wait表中该Session对应的log file sync等待事件的SEQ#会不断增长(否则的话timeout可能存在问题),此时的瓶颈就在LGWR进程,就需要查找堵塞LGWR进程的原因了。

调优LGWR的关键是磁盘IO,例如,redo logs不应该放在RAID5的磁盘阵列上。另外,将分散的事务合并成大事务也有助于减少该等待事件。

参数:P1-The number of the buffer in the log buffer that needs to be synchronized

SQL*Net message from client

Session在等待client的输入。

参数:P1-Prior to Oracle8i release, the value in this parameter was not of much use. Since Oracle8i, the P1RAW column contains an ASCII value to show what type of network driver is in use by the client connections; for example, bequeath, and TCP.

P2-The number of bytes received by the session from the clientgenerally one, even though the received packet will contain more than 1 byte.

SQL*Net message to client

This wait event is posted by the session when it is sending a message to the client. The client process may be too busy to accept the delivery of the message, causing the server session to wait, or the network latency delays may be causing the message delivery to take longer.

参数:P1-Prior to Oracle8i Database, the value in this parameter was not of much use. Since Oracle8i, the P1RAW column contains an ASCII value to show what type of network driver is in use by the client connections, for example, bequeath and TCP.

P2-Number of bytes sent to client. This is generally one even though the sent packet will contain more than 1 byte.

 

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

转载于:http://blog.itpub.net/55472/viewspace-433001/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值