If you use hardware RAID, there might be. I use hardware RAID on my Solaris databases and it includes 24 meg of NVRAM cache. Therefore if I keep my redos under 24 meg I get instant response from the RAID box that my redo is saved. (since the RAM is NonVolatile, a power failure of under 2 years still allows my redo to be written to disk) Arranging your database so all writes happen at the speed of RAM not the speed of read/write heads is a big speed up in response time.
I tried to remain child-like, all I acheived was childish.
Oracle's typical rule of thumb is to size your redo logs so that they generally switch every 20 minutes. As we saw yesterday in a thread, it took 19 minutes for a relo log switch to complete archiving and checkpointing (those particular log files were 500MB). So, size is activity dependent.
If log switches occur much more frequently than 20 minutes, your performace begins to suffer.
Mufasa
(aka Dave of Sandy, Utah, USA @ 16:13 (03Dec03) GMT, 09:13 (03Dec03) Mountain Time)
SQL> select avg(1440*(t2.first_time - t1.first_time)) avg_minutes
2 from v$log_history t1, v$log_history t2
3 where t1.recid = t2.recid - 1;
AVG_MINUTES
-----------
55.9727912
Of course, if your database is not very active, first_time may not necessarily be "close" to the time of the log switch. You might want to take Dave's advice and compare the first_time values to the times recorded in your alert log to see if they are about the same or not.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.