Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Archivelog - Disk space issue.

Re: Archivelog - Disk space issue.

From: Jay Hostetter <jhostetter_at_decommunications.com>
Date: Wed, 15 Oct 2003 06:19:31 -0800
Message-ID: <F001.005D33C3.20031015061931@fatcity.com>


Your backup script should be deleting archive logs after they are backed up. With RMAN, you could do the following, just to backup and delete your archivelogs:

run
{
allocate channel ch1 type disk format '/bkup4/oracle/%d/arc_s%s_p%p_%t'; set limit channel ch1 kbytes=1000000; # Limit sets to 1 Gb. backup archivelog all delete input;
}

If you're not using RMAN, delete the logs that have been backed up by your script. If you're not backing them up, you're going to have recovery issues.

Jay

>>> EvaD_at_TFMC.co.za 10/15/03 09:44AM >>>
Hello Gurus,

Have some disk space issues, so looking for ways to cleanup.

Please confirm that my thinking is correct. I run the command and example output below:- SQL> archive log list

Database log mode              Archive Mode
Automatic archival             Enabled
Archive destination            C:\Oracle\oracle.....
Oldest online log sequence     2334
Next log sequence to archive   2338
Current log sequence           2338

I can write a script (Perl) to remove all archive files < 2334?

Much appreciate any input or confirmation.

Regards
Denham Eva
Oracle DBA
Linux like TeePee... No Windows, No Gates and Apache inside!

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net 
-- 
Author: Denham Eva
  INET: EvaD_at_TFMC.co.za 

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com 
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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)



**DISCLAIMER
This e-mail message and any files transmitted with it are intended for the use of the individual or entity to which they are addressed and may contain information that is privileged, proprietary and confidential. If you are not the intended recipient, you may not use, copy or disclose to anyone the message or any information contained in the message. If you have received this communication in error, please notify the sender and delete this e-mail message. The contents do not represent the opinion of D&E except to the extent that it relates to their official business.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Jay Hostetter
  INET: jhostetter_at_decommunications.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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).
Received on Wed Oct 15 2003 - 09:19:31 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US