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

----- Original Message -----
To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
Sent: Wednesday, August 14, 2002 6:08 AM



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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Tim Gorman
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to