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

Home -> Community -> Usenet -> c.d.o.server -> Re: how to purge archive log records from the controlfile?

Re: how to purge archive log records from the controlfile?

From: Sybrand Bakker <gooiditweg_at_nospam.demon.nl>
Date: Fri, 25 Apr 2003 19:57:40 +0200
Message-ID: <2ktiav8kfcpkmcnmh75l41nfh82tr9kjhr@4ax.com>


On 25 Apr 2003 14:12:20 GMT, Holger Marzen <holger_at_marzen.de> wrote:

>* On Thu, 24 Apr 2003 19:03:14 +0200, Sybrand Bakker wrote:
>
>>>but as far as I understand the records are only marked as deleted. The
>>>controlfiles have still the same number of records, as Oracletool shows
>>>(e.g. 6MB for "Archived log").
>>>
>>>How can I shrink the files and purge the records? Rman's doc mentions
>>>prgrmanc.sql, but this is described to work with a recovery catalog.
>>>
>>
>> Not an issue. There is a parameter which states how long these records
>> will be kept, the default is 7 days.
>
>It's set to 60 days - and the limit is ignored. Probably because the
>file can grow.
>
>> If you can't afford expanding controlfiles you should seriously
>> consider whether your configuration is sufficient. Disk is cheap.
>> And NO: you can't 'purge' the controlfile without risking to screw it
>> up.
>
>Disk space is not the problem, but the
>
> list backup of database archivelog all
>
>now runs for over an hour without being finished. I'll definitely run
>into problems during the dext months or years.
>Is there a way to purge the old records by recreating the controlfile in
>an automated way?

Well, I don't think there is any need to use the 'all' clause if there is an 'after' clause.

And recreating the controlfile in an automated way would limit your recovery capabilities.
Please don't try to be 'smart' and pick at irrelevant problems! One day you'll regret you did deal with them!!!

Sybrand Bakker, Senior Oracle DBA

To reply remove -verwijderdit from my e-mail address Received on Fri Apr 25 2003 - 12:57:40 CDT

Original text of this message

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