"Oracle Case" RMAN-08138

Source: Internet
Author: User

1.1.1. RMAN-08138

Date: 2014-05-21 14:36

Environment: Test environment

"Scenario description"

On the test machine, when you use Rman to delete archived log files, you are prompted to warning a warning and the archive log cannot be deleted.

"Error Message"

rman> Delete Archivelog all completed before ' sysdate ';

Released Channel:ora_disk_1

Allocated Channel:ora_disk_1

Channel ora_disk_1:sid=129 Devicetype=disk

rman-08138:warning:archived log notdeleted-must Create more backups

Archived Log filename=/u01/app/test/rman/fra/testdb/archivelog/2014_05_20/o1_mf_1_68_9qo951ol_.arcthread=1 sequence=68

"Cause of error"

The delete command executed in Rman is caused by a conflict with the Archive Log deletion policy configured in Rman.

"Workaround"

Because it is tested in a test environment, modify the delete policy of the archive log in Rman, and then execute the delete command to delete the archive log.

Current Archive Log deletion policy:

CONFIGURE ARCHIVELOG deletion POLICY tobacked up 3 times to DISK;

To modify a policy:

Rman> Configure Archivelog Deletionpolicy clear;

After modification:

CONFIGURE ARCHIVELOG deletion POLICY tonone; # Default

To delete an archive log:

rman> delete Archivelog all completed;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.