Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Need script that monitors for archive directory filling up
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C065E8.2A083D58
Content-Type: text/plain;
charset="iso-8859-1"
Cherie - In a previous job, I ran a cron job that compressed new archives every 30 mins. Compression can give you ~8:1 space gain. The major disadvantage is you have to uncompress before using them to recover a db.
Gene Sais
-----Original Message-----
From: Cherie_Machler_at_gelco.com [mailto:Cherie_Machler_at_gelco.com]
Sent: Thursday, December 14, 2000 9:46 AM
To: Multiple recipients of list ORACLE-L
Subject: Re: Need script that monitors for archive directory filling up
We are using RMAN to backup the archives at least once a day and sometimes as often as hourly depending on activity on each database.
We do have quite a bit of disk space but it often fills up when there is periodic heavy utilization or really large jobs that are creating a lot of archive logs.
I can't move the archive log files because they have to be in position in order to run the archive cleanup script from rman.
I'd be interested to know if there is a way to have more than one archive directory location within rman.
Cherie
---------------------- Forwarded by Cherie Machler/GELCO on 12/14/2000 09:24AM
"Ron Rogers" <RROGERS_at_galottery.org> on 12/13/2000 03:42:25 PM
Please respond to ORACLE-L_at_fatcity.com
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> cc: (bcc: Cherie Machler/GELCO)
Cherie,
Why not have a cron that will "find" the archive logs with a date > 1 day
ond
and "exec" a move to a spare disk or after a successfull backup of the
archive
logs "find and rm" the files. Does your disk fill up in less than 1 day?
If so it would be in your best interest to geta larger volume for archives
or
use multiple archive areas.
I will look in my cd's to see if I saved the commands from my time as a SA
for
Unix.
ROR m
------_=_NextPart_001_01C065E8.2A083D58
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>RE: Need script that monitors for archive directory filling =
up</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>Cherie - In a previous job, I ran a cron job that =
compressed new archives every 30 mins. Compression can give you =
~8:1 space gain. The major disadvantage is you have to uncompress =
before using them to recover a db.</FONT></P>
<P><FONT SIZE=3D2>Gene Sais</FONT>
</P>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Cherie_Machler_at_gelco.com [<A =
HREF=3D"mailto:Cherie_Machler_at_gelco.com">mailto:Cherie_Machler_at_gelco.com=
</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Thursday, December 14, 2000 9:46 AM</FONT>
<BR><FONT SIZE=3D2>To: Multiple recipients of list ORACLE-L</FONT>
<BR><FONT SIZE=3D2>Subject: Re: Need script that monitors for archive =
directory filling up</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>We are using RMAN to backup the archives at least =
once</FONT>
<BR><FONT SIZE=3D2>a day and sometimes as often as hourly depending =
on</FONT>
<BR><FONT SIZE=3D2>activity on each database.</FONT>
</P>
<P><FONT SIZE=3D2>We do have quite a bit of disk space but it often =
fills up</FONT>
<BR><FONT SIZE=3D2>when there is periodic heavy utilization or really =
large</FONT>
<BR><FONT SIZE=3D2>jobs that are creating a lot of archive logs.</FONT>
</P>
<P><FONT SIZE=3D2>I can't move the archive log files because they =
have</FONT>
<BR><FONT SIZE=3D2>to be in position in order to run the archive =
cleanup</FONT>
<BR><FONT SIZE=3D2>script from rman.</FONT>
</P>
<P><FONT SIZE=3D2>I'd be interested to know if there is a way to have =
more</FONT>
<BR><FONT SIZE=3D2>than one archive directory location within =
rman.</FONT>
</P>
<P><FONT SIZE=3D2>Cherie</FONT>
<BR><FONT SIZE=3D2>---------------------- Forwarded by Cherie =
Machler/GELCO on 12/14/2000 09:24 AM</FONT>
<BR><FONT SIZE=3D2>---------------------------</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>"Ron Rogers" <RROGERS_at_galottery.org> =
on 12/13/2000 03:42:25 PM</FONT>
</P>
<P><FONT SIZE=3D2>Please respond to ORACLE-L_at_fatcity.com</FONT>
</P>
<P><FONT SIZE=3D2>To: Multiple recipients of list ORACLE-L =
<ORACLE-L_at_fatcity.com></FONT>
<BR><FONT SIZE=3D2>cc: (bcc: Cherie =
Machler/GELCO)</FONT>
</P>
<BR>
<BR>
<BR>
<P><FONT SIZE=3D2>Cherie,</FONT>
<BR><FONT SIZE=3D2> Why not have a cron that will "find" =
the archive logs with a date > 1 day ond</FONT>
<BR><FONT SIZE=3D2>and "exec" a move to a spare disk or after =
a successfull backup of the archive</FONT>
<BR><FONT SIZE=3D2>logs "find and rm" the files. Does your =
disk fill up in less than 1 day?</FONT>
<BR><FONT SIZE=3D2>If so it would be in your best interest to geta =
larger volume for archives or</FONT>
<BR><FONT SIZE=3D2>use multiple archive areas.</FONT>
<BR><FONT SIZE=3D2> I will look in my cd's to see if I saved the =
commands from my time as a SA for</FONT>
Received on Thu Dec 14 2000 - 10:08:55 CST
![]() |
![]() |