过着简单,真实的生活,喜欢收藏变形金刚(TFE,G1,SL系列),研究金融股市,KOF98,篮球,学习研究Oracle技术,我并不是一个全职的Oracle DBA,但是对于Oracle技术的热爱和研究,是一个不争的事实,愿意结交广大Oracle技术爱好者!MSN:oracle_kof_tf@hotmail.com

Redo Log Space Requests引起的Log File Sync(转)

上一篇 / 下一篇  2008-03-17 19:51:43 / 个人分类:Oracle数据库技术-数据库优化

Problem:
========

You are experiencing performance problems.  Your applications have lots of
COMMITs and ROLLBACKs.

V$SYSTEM_EVENT.TOTAL_WAITS / TOTAL_TIMEOUTS / TIME_WAITED / AVERAGE_WAIT
has high numbers for "log file sync".

You are not having disk problems which is often the problem cause of
"log file sync".


Solution:
=========

1. Ensure that your redo log buffer in the SGA is large enough.

2. Over time (since database startup), if you see increasing values for:

     select * from v$sysstat where name like 'redo%space%';

   your redo log buffer is too small.

   "Redo log space requests" event is the number of times that the
   background was requested to allocate space in the redo file.

   This gives an indication of how many times a user process waited for
   space in the redo logs.

3. Increase the redo log buffer by increasing the init.ora "log_buffer"
   parameter.

4. Then bounce your instance.


Explanation:
============

The "log file sync" event is often thought to be a disk-only issue which is
not always true.  This event can be more than disk I/O problems.  If the redo
log buffer cannot be flushed/allocated fast enough, you experience memory
contention rather than disk contention.
 
引自:http://blog.chinaunix.net/u/12960/showart_127878.html

TAG:

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

Open Toolbar