Oracle case study RMAN-08138

Source: Internet
Author: User

1.1.1 RMAN-08138

Date:

Environment: test environment

[Scenario description]

On the test machine, when RMAN is used to delete archived log files, a WARNING is prompted, and archive logs 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

[Error cause]

The delete Command executed in RMAN conflicts with the archive log deletion policy configured in RMAN.

[Solution]

Because it was tested and used in the test environment, modify the deletion policy for archiving logs in RMAN and run the delete command to delete the archived logs.

Current archiving log deletion policy:

Configure archivelog deletion policy tobacked up 3 times to disk;

Modify policy:

RMAN> configure archivelog deletionpolicy clear;

After modification:

Configure archivelog deletion policy tonone; # default

Delete archived logs:

RMAN> delete archivelog all completed;

Related Article

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.