Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Amount of redo
Querying V$LOG_HISTORY should help, but it will only tell you how many log
switches occurred. You can get a good ballpark-estimate figure by counting
the rate of log switches per day and multiplying by the size of your
(largest) online redo log files. In SQL*Plus:
column mb new_value V_MB
select max(bytes)/1048576 mb
from v$log;
col cnt format 999,990
col est_vol_of_redo format 999,990.00
select trunc(first_time), count(*) cnt, count(*) * &&V_MB
est_vol_of_redo
from v$log_history
group by trunc(first_time);
...or something like that. As you can see, if you have multiple-sized online redo log files (a *very* bad practice!), the calculated volume could be unduly high. Also, if something has been causing log switches to occur short of filling the log files (i.e. frequent ALTER SYSTEM SWITCH LOGFILE, frequent SHUTDOWN, etc), then the calculated volume will be unduly high as well. But it's probably better to err on the high side anyway...?
Hope this helps...
-Tim
Hi List,
I want to put my databse in archive mode(Presently it is non archive
mode).I want to estimate
space that will be required for archive log taking we will be keeping
one week archive on disk. How can i find out amount of redo generated in
a week.
Regards
Pawan Dalmia
Extn -5259
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Pawan Dalmia INET: Pawan.Dalmia_at_orange.co.in Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-LReceived on Wed Aug 14 2002 - 08:33:34 CDT
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Tim Gorman INET: Tim_at_SageLogix.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).