【等待事件】log file switch (checkpoint incomplete)


等待时间描述:

  Waiting for a log switch because the session cannot wrap into the next log. Wrapping cannot be performed because the checkpoint for that log has not completed.

当你的日志组都写完以后,LGWR 试图写第一个log file,如果这时数据库没有完成写出记录在第一个log file 中的dirty 块时(例如第一个检查点未完成),该等待事件出现。此时online log状态全部是active状态

该等待事件通常表示你的DBWR 写出速度太慢或者IO 存在问题或者正在执行批量插入作业

Top 5 Timed Events

Event

Waits

Time(s)

Avg Wait(ms)

% Total Call Time

Wait Class

log file switch (checkpoint incomplete)

135,745

127,851

942

52.1

Configuration

enq: SQ - contention

12,964

36,530

2,818

14.9

Configuration

read by other session

1,123,797

17,965

16

7.3

User I/O

db file sequential read

1,036,098

17,535

17

7.1

User I/O

buffer busy waits

19,299

15,912

825

6.5

Concurrency

 

解决办法

调整参数db_writer_processes增加额外的DBWR

 增加你的日志组或日志文件大小

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

转载于:http://blog.itpub.net/15747463/viewspace-758066/

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值