Oracle 11g Backup Restore Enhancements

Source: Internet
Author: User
Tags oracle database backup

Oracle 11g has added a lot of functionality to backup and recovery, with varying degrees of performance, functionality, security, and operability.

This article describes the validation when Rman deletes an archive log.

In the previous version of 11g, Oracle's Rman was not tightly integrated with other log applications, so when Rman deletes the archive log, it does not determine if the log is still useful for other systems.

When Rman deletes the log, other systems, such as data GUARD, streams, and so on, may be found to be unable to function because the log was deleted.

Starting with the 11g, Rman will first determine whether the log is still required by other systems, and the Rman will report to the police and not delete the log when other needs still need it.

First look at the situation under 10g:

  SQL> conn sys/test@testrac_standby as sysdba已连接。
  SQL> select sequence# from v$managed_standby where status = 'WAIT_FOR_LOG';
  SEQUENCE#
  ----------
  577
  SQL> shutdown immediate

ORA-01109: Database not open

The database has been unloaded.

The ORACLE routine has been closed.

  SQL> exit从 Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
  With the Partitioning, OLAP and Data Mining options 断开
  $ rman target /

Recovery manager: Release 10.2.0.3.0-production on Thursday September 13 04:14:09 2007

Copyright (c) 1982, +, Oracle. All rights reserved.

Connect to target database: Testrac (dbid=4291216984)

rman> Delete archivelog sequence 577;

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.