【每日一摩斯】-LGWR Is Generating Trace file with "Warning: Log Write Time 540ms, Size 5444kb" In 10.2.0.4

本文涉及的产品
日志服务 SLS,月写入数据量 50GB 1个月
简介: LGWR Is Generating Trace file with "Warning: Log Write Time 540ms, Size 5444kb" In 10.

LGWR Is Generating Trace file with "Warning: Log Write Time 540ms, Size 5444kb" In 10.2.0.4 Database (文档 ID 601316.1)

LGWR的trace日志中记录:

Warning: log write time 540ms, size 5444KB
*** 2008-05-14 10:19:02.686
Warning: log write time 1470ms, size 5533KB
*** 2008-05-14 10:19:03.546
Warning: log write time 860ms, size 2230KB
*** 2008-05-14 10:23:04.183
Warning: log write time 2940ms, size 5701KB
*** 2008-05-14 10:23:05.758
Warning: log write time 1580ms, size 4234KB
*** 2008-05-14 10:23:07.559
Warning: log write time 1800ms, size 5701KB

这是Warning信息,在10.2.0.4中,Oracle规定如果log write的时间大于500ms,就会记录到LGWR的trace日志中。

官方建议的解决方法是:

这是警告信息,意味着日志写进程没有像预期那样快。所以你可能需要检查是否因为潜在的OS问题导致磁盘变慢。如果硬件或OS级别都没有问题,例如就是因为它自己的特性导致环境不能提供较快的服务,完全可以忽略这种报错信息,删了这个trace文件就行了。


同样有人也开了一个defect:Bug 7559549 : TRACES GENERATED CONTAIN WARNING: LOG WRITE TIME 1330MS, SIZE 168KB

类型 B - Defect 
严重性 2 - Severe Loss of Service 
产品版本 10.2.0.4.0 
状态 92 - Closed, Not a Bug 
平台 212 - IBM AIX on POWER Systems (64-bit) 
基本 Bug N/A 
影响平台  Generic 
WORKAROUND:-----------No workaround.


补充下:

1、LGWR的trace日志路径在bdump中。(bdump主要保存一些后台进程的trace日志,b代表background)。

2、eygle也曾在自己的blog中记录过这个问题:http://www.eygle.com/archives/2009/11/log_write_time.html

也指出有可能是IO存在问题,引起写缓慢。如果认为硬件没有问题就行。

相关实践学习
日志服务之使用Nginx模式采集日志
本文介绍如何通过日志服务控制台创建Nginx模式的Logtail配置快速采集Nginx日志并进行多维度分析。
目录
相关文章
|
10月前
如何关掉Parsed mapper file日志打印
如何关掉Parsed mapper file日志打印
246 1
|
5月前
|
小程序
【小程序】报错:no such file or directory, access ‘wxfile://usr/miniprogramLog/log2‘
【小程序】报错:no such file or directory, access ‘wxfile://usr/miniprogramLog/log2‘
1138 0
|
2月前
|
安全 网络安全 数据安全/隐私保护
auth required pam_tally2.so file=/var/log/tallylog onerr=fail deny=3 unlock_time=300 even_deny_root root_unlock_time=300 什么作用?
【8月更文挑战第2天】auth required pam_tally2.so file=/var/log/tallylog onerr=fail deny=3 unlock_time=300 even_deny_root root_unlock_time=300 什么作用?
35 1
|
2月前
|
安全 网络安全 数据安全/隐私保护
auth required pam_tally2.so file=/var/log/tallylog onerr=fail deny=3 unlock_time=300 even_deny_root root_unlock_time=300 什么作用
【8月更文挑战第14天】auth required pam_tally2.so file=/var/log/tallylog onerr=fail deny=3 unlock_time=300 even_deny_root root_unlock_time=300 什么作用
48 0
|
3月前
|
关系型数据库 MySQL 数据库
MySQL 启动日志报错: File /mysql-bin.index not found (Errcode: 13 - Permission denied)
MySQL 启动日志报错: File /mysql-bin.index not found (Errcode: 13 - Permission denied)
190 2
|
5月前
|
存储 关系型数据库 数据库
关系型数据库文件方式存储LOG FILE(日志文件)
【5月更文挑战第11天】关系型数据库文件方式存储LOG FILE(日志文件)
182 1
|
5月前
|
SQL
WARNING: too many parse errors' in the 12.2 Alert.log
WARNING: too many parse errors' in the 12.2 Alert.log
64 2
|
5月前
|
运维 应用服务中间件 网络安全
利于群晖的File Station+SFTP实现第三方人员快速获取服务器应用日志
利于群晖的File Station+SFTP实现第三方人员快速获取服务器应用日志
217 0
|
应用服务中间件 PHP nginx
PHP ERROR: failed to open error_log (/usr/var/log/php-fpm.log): No such file or directory (2)
PHP ERROR: failed to open error_log (/usr/var/log/php-fpm.log): No such file or directory (2)
136 1
|
11月前
|
关系型数据库 MySQL
MySQL - File /var/log/mysql/mysql-bin.index not found (Errcode 13 - Permission denied)
MySQL - File /var/log/mysql/mysql-bin.index not found (Errcode 13 - Permission denied)
228 0