LGWR TRACE Warning: log write time
2013-03-19 00:48
302 查看
同学们大概偶尔也会在事务繁忙的Oracle数据库的LGWR日志进程的TRACE里找到如下的内容:
这些TRACE记录说明LGWR在写出REDO BUFFER到REDO LOGFILE联机日志文件时单次的日志写时间超过了500ms:
The above warning messages has been introduced in 10.2.0.4 patchset.
The warning message will be generated only if the log write time is more than 500 ms and it will be written to the lgwr trace file.
Solution
These messages are expected in a 10.2.0.4 database in case the log write is more than 500 ms.
This is a warning which means that the write process is not as fast as it intented to be.
So, probably you need to check if the disk is slow or not or for any potential OS causes.
If everything looks fine at the hardware level or OS level then you can safely ignore these messages.
The trace file can easily be deleted or truncated.
Also, according to Bug:7559549 , these trace can be disabled by setting event 10468 level 4."
该TRACE信息由10.2.0.4 patchset引入,当LGWR写日志文件单次超过500ms时触发写"Warning: log write time "信息到lgwr trace,如果该信息频繁出现可能意为这潜在的OS IO问题(如果TOP等待事件中还有log file sync、gc buffer busy则值得注意该LGWR IO缓慢问题), 如果在硬件或OS层面都没有问题、且该日志记录出现并不频繁则可以忽略该问题,也可以通过设置10468 EVENT LEVEL 4来禁止写出"Warning: log write time "警告信息。
实际控制这里500ms的是_long_log_write_warning_threshold(threshold for long log write warning messages in ms)隐藏参数,该参数可以在线设置:
SQL> alter system set "_long_log_write_warning_threshold"=2000 ;
System altered.
Warning: log write time 1730ms, size 155KB *** 2011-09-12 22:56:05.407 Warning: log write time 810ms, size 1KB *** 2011-09-12 22:56:06.990 Warning: log write time 1590ms, size 154KB *** 2011-09-12 22:56:07.670 Warning: log write time 600ms, size 109KB *** 2011-09-12 22:56:09.903 Warning: log write time 1790ms, size 190KB *** 2011-09-12 22:56:11.704 Warning: log write time 1800ms, size 126KB *** 2011-09-12 22:56:12.854 Warning: log write time 710ms, size 70KB
这些TRACE记录说明LGWR在写出REDO BUFFER到REDO LOGFILE联机日志文件时单次的日志写时间超过了500ms:
The above warning messages has been introduced in 10.2.0.4 patchset.
The warning message will be generated only if the log write time is more than 500 ms and it will be written to the lgwr trace file.
Solution
These messages are expected in a 10.2.0.4 database in case the log write is more than 500 ms.
This is a warning which means that the write process is not as fast as it intented to be.
So, probably you need to check if the disk is slow or not or for any potential OS causes.
If everything looks fine at the hardware level or OS level then you can safely ignore these messages.
The trace file can easily be deleted or truncated.
Also, according to Bug:7559549 , these trace can be disabled by setting event 10468 level 4."
该TRACE信息由10.2.0.4 patchset引入,当LGWR写日志文件单次超过500ms时触发写"Warning: log write time "信息到lgwr trace,如果该信息频繁出现可能意为这潜在的OS IO问题(如果TOP等待事件中还有log file sync、gc buffer busy则值得注意该LGWR IO缓慢问题), 如果在硬件或OS层面都没有问题、且该日志记录出现并不频繁则可以忽略该问题,也可以通过设置10468 EVENT LEVEL 4来禁止写出"Warning: log write time "警告信息。
实际控制这里500ms的是_long_log_write_warning_threshold(threshold for long log write warning messages in ms)隐藏参数,该参数可以在线设置:
SQL> alter system set "_long_log_write_warning_threshold"=2000 ;
System altered.
相关文章推荐
- 【每日一摩斯】-LGWR Is Generating Trace file with "Warning: Log Write Time 540ms, Size 5444kb" In 10.2.0.4
- LGWR Trace Warning: Log Write Time ? Maybe not an issue
- LGWR Is Generating Trace file with 'Warning Log Write Time 540ms, Size 5444kb' In 10.2.0.4 Database
- LGWR TRACE Warning: log write time
- LGWR Is Generating Trace file with 'Warning Log Write Time 540ms, Size 5444kb' In 10.2.0.4 Database
- Warning: log write time 600ms, size 43KB
- Warning: log write elapsed time
- [原]** WARNING ** Mnesia is overloaded: {dump_log, write_threshold}
- [ZZ]** WARNING ** Mnesia is overloaded: {dump_log, write_threshold}
- ** WARNING ** Mnesia is overloaded: {dump_log, write_threshold}
- Warning: Tracefile events are not sorted by time. (黄化吉第三个例程有问题)
- WARNING: Waited 15 secs for write IO to PST disk 4 in group 3 in alert_asm.log
- ** WARNING ** Mnesia is overloaded: {dump_log, write_threshold}
- ** WARNING ** Mnesia is overloaded: {dump_log, write_threshold}
- vs2013 调试提示空指针、无法启动 iis express 服务、未能正确加载“Microsoft.VisualStudio.TraceLogPackage
- ERROR 1665 (HY000): Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT
- Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.
- log file sync, log file parallell write
- Realtime Shadow Rendering Log
- FFMPEG avformat_write_header changing my stream time_base