Reputation:
I am currently working on 9.2.0.8 Oracle database.I Have some questions related to Performace of Database that too related to Redo logs latches & contention. Answers from real practice will be highly appreciated. please help.
And About Redo log latches & contention, when i isssue:- SELECT name, value FROM v$sysstat WHERE name = 'redo log space requests'; Output:-
NAME VALUE
-------------------------------------------------------------------- ----------
redo log space requests 20422
(This value is getting increased day by day)
Upvotes: 1
Views: 644
Reputation: 11915
Something about the information you supplied doesn't add up - if you were really generating around 20G/min of archive logs, then you would be switching your 100M log files at least 200 times per minute - not the 3 times/minute worst case that you mentioned. This also isn't consistent with your description of "... mostly SELECT's".
In the real world, I wouldn't worry about log switches every 5-10 minutes on average. With this much redo, none of the init parameters are coming into play for switching - it is happening because of the online redo logs filling up. In this case, the only way to control the switching rate is to resize the logs, e.g. doubling the log size will reduce the switching frequency by half.
Upvotes: 1
Reputation: 48111
It would probably help to look at which sessions are generating lots of redo, and which sessions are waiting on the redo log space the most.
SQL> l
1 select name, sid, value
2 from v$sesstat s, v$statname n
3 where name in ('redo size','redo log space requests')
4 and n.statistic# = s.statistic#
5 and value > 0
6* order by 1,2
Upvotes: 0
Reputation: 2917
17GB of logfiles per minute seems pretty high to me. Perhaps one of the tablespaces in your database is still in online backup mode.
Upvotes: 0