Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Data Guard Delete Applied ArcLogs
You could just write an RMAN script to do it. Add the command below to delete the archivelogs up until yesterday. You can connect with nocatalog if you don't have an RMAN catalog.
DELETE ARCHIVELOG UNTIL TIME = sysdate -1;
Pat
Hi Jack,
In 9i, unless you're backing up from the standby and specify delete all input(which has pitfalls and perils all its own), you're going to have to script something.
On 10/31/07, JApplewhite_at_austinisd.org<mailto:JApplewhite_at_austinisd.org> < JApplewhite_at_austinisd.org<mailto:JApplewhite_at_austinisd.org>> wrote:
Oracle9i (9.2.0.8<http://9.2.0.8>) on HPUX.
Am I just missing it or is there no way to configure a Physical Standby and/or Data Guard Broker to automatically delete archived redo logs after they are successfully applied? I've searched the docs and can't find that it's possible. I also checked to see if RMan could do it - no luck.
Will I just have to cron a script to periodically query V$Archived_Log and generate the rm commands?
Thanks.
Jack C. Applewhite - Database Administrator
Austin I.S.D.
414.9715 (phone) / 935.5929 (pager)
To view this notice in other languages you can either select the following link or manually copy and paste the link into the address bar of a web browser: http://emaildisclaimer.medtronic.com
-- http://www.freelists.org/webpage/oracle-lReceived on Wed Oct 31 2007 - 14:50:01 CDT