ORACLE:
REDO LOG
系统警告说REDO LOG Writer经常时间长 经常200多ms
怎么调整?
SPOT LIGTH 给出警告。
Severity:High
Reason:Average redo log write time is 118 ms (averaged over 30 seconds)
Redo Log writer (LGWR)
The Redo log writer writes the redo buffer blocks from SGA to redo log files on the hard disk.
An alarm can become current on this process if log switch waits occur (Log Switch Time alarm), or if the average redo I/O time exceeds a threshold (Average Time to Sync a Redo Log Entry alarm).
调整:
1、调整redo log buffer大小:512K *CPU个数或218* CPU个数(CPU_COUNT)
2、调优redo_log_buffer
查看版本:
select * from v$version where rownum<2;
select * from v$sgainfo where name in ('Fixed SGA Size','Redo Buffers','Granule Size');