Oracle case study ORA-19573

Source: Internet
Author: User

1.1.1 ORA-19573

Date:

Environment: test environment

[Scenario description]

When the database instance is in the OPEN state (read write), an error is reported when the database restoration and restoration operations are performed in RMAN.

[Error message]

RMAN> run {

2> allocate channel category type disk;

3> allocate channel ch2 type disk;

4> set until scn 1520939;

5> restore database;

6> recover database;

7> release channel restart;

8> release channel ch2;

9>}

......

Released channel: released

Released channel: ch2

RMAN-00571: ========================================================== ==============================

RMAN-00569: ==================== error messagestack follows ======================

RMAN-00571: ========================================================== ==============================

RMAN-03002: failure of restore command at05/21/2014 17:04:43

ORA-19870: error while restoring backuppiece/U01/app/test/rman/fra/TESTDB/backupset/2014_05_21/o1_mf_nnndf_TAG20140521T164225_9qrsqkyw _. bkp

ORA-19573: cannot obtain exclusive enqueuefor datafile 1

RMAN>

[Error details]

[Oracle @ oracle ~] $ Oerr ora 1, 19870

19870,000 00, "error while restoringbackup piece % s"

// * Cause: This error shocould be followed byother errors indicating

// The cause of the problem.

// * Action: See other errors actions.

[Oracle @ oracle ~] $ Oerr ora 1, 19573

19573,000 00, "cannot obtain % senqueue for datafile % s"

// * Cause: The file access enqueue cocould not be obtained for a file

// Specified in a backup, copy or restore operation.

// If the enqueue type shown is 'shared ', then the file is

// Input file for a backup or copy. If the type is 'clusive ', then

// The file is the output file for a datafile copy or restore which

// Is attempting to overwrite the currently active version of that

// File-in this case, the file must be offline or the database must

// Be closed. If the type is 'read-only', then you are attempting

// To back up or copy this file while the database is in NOARCHIVELOG

// Mode.

// * Action: Wait until the conflictingoperation is complete, then retry

// The copy or backup. If thedatabase is in NOARCHIVELOG mode, then

// All files being backed up must be closed cleanly.

[Oracle @ oracle ~] $

[Error cause]

The database is in the OPEN state, and all tablespaces and data files are ONLINE. oracle cannot restore the database.

[Solution]

In this test case, first shut down the database instance, then turned on to the MOUNT status, and then logged on to RMAN again for Incomplete recovery.

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.