Performing Time-Based or Change-Based Incomplete Recovery

OCP 053:

192.What is the purpose of the until change option of the restore
command?

A. It allows you to select the SCN that you want to restore
to.

B. It allows you to select the log sequence number you want to restore
to.

C. It allows you to select the timestamp you want to restore
to.

D. It allows you to manually stop the restore at any time as online
redo logs are applied.

E. None of the above.

Answer: A

答案解析:

参考:http://docs.oracle.com/cd/E11882_01/backup.112/e10642/osrecvry.htm#BRADV219

Performing Time-Based or Change-Based Incomplete Recovery

This section describes how to specify an SCN or time for the
end point of recovery. If your database is affected by seasonal time changes
(for example, daylight savings time), then you may experience a problem if a
time appears twice in the redo log and you want to recover to the second, or
later time. To handle time changes, perform cancel-based or change-based
recovery.

To perform change-based
or time-based recovery:

  1. Follows Step 1 through Step 8 in "Performing Closed Database Recovery".

  2. Issue
    the RECOVER DATABASE UNTIL statement
    to begin recovery. If recovering to an SCN, then specify as a decimal number
    without quotation marks. For example, to recover through SCN
    10034 issue:

    RECOVER DATABASE UNTIL CHANGE 10034;

    If recovering to a time, then the time is always specified using the
    following format, delimited by single quotation
    marks: ‘YYYY-MM-DD:HH24:MI:SS‘. The following statement
    recovers the database up to a specified time:

    RECOVER DATABASE UNTIL TIME ‘2000-12-31:12:47:30‘


  3. Apply the necessary redo log files to recover the restored data files. The
    database automatically terminates the recovery when it reaches the correct
    time, and returns a message indicating whether recovery is successful.

    Note:

    Unless recovery is automated, the database supplies the
    name from LOG_ARCHIVE_DEST_1 and asks
    you to stop or proceed with after each log. If the control file is a backup,
    then after the archived logs are applied you must supply the names of the
    online logs.


  4. Follow Steps 4 and 5 in "Performing Cancel-Based Incomplete Recovery".





UNTIL
SCN
 integer
Specifies an SCN as an upper,
noninclusive limit.

RMAN selects only files that it can use to restore or recover up to but
not including the specified SCN (seeExample 4-38). For example, RESTORE DATABASE UNTIL SCN
1000
 chooses only backups that could be used to recover to SCN
1000.

Performing Time-Based or Change-Based Incomplete
Recovery,布布扣,bubuko.com

Performing Time-Based or Change-Based Incomplete
Recovery

时间: 2024-08-08 09:37:33

Performing Time-Based or Change-Based Incomplete Recovery的相关文章

How to recover a skipped tablespace after an incomplete recovery? (Doc ID 1561645.1)

APPLIES TO: Oracle Database - Enterprise Edition - Version 11.2.0.1 and laterOracle Database Cloud Schema Service - Version N/A and laterOracle Database Exadata Express Cloud Service - Version N/A and laterOracle Database Exadata Cloud Machine - Vers

Apache Virtual Hosting IP Based and Name Based Virtual Hosts

As we all are aware that Apache is a very powerful, highly flexible and configurable Web server for Nix OS. Here in this tutorial, we are going to discuss one more feature of Apachewhich allows us to host more than one website on a single Linux machi

Resource Access Based on Multiple Credentials

A collection of multiple?user?credentials?each associated with one of multiple different users is obtained at a device, and one or more of the multiple?user credentials?are verified. A determination is made as to whether access to a resource is permi

Why To Prefer Oil Based Stains Over Rest?

Majority of the people try to stain their deck themselves. While you think of staining wood, picture of a can of some oil based stain emerges in mind. And most of you follow the process of wiping the surface and staining it, let it soak in and then w

转 RMAN: RAC Backup, Restore and Recovery using RMAN

PURPOSE The purpose of this document is to give a quick guide for using RMAN on RAC databases. We will follow this points: 1. Verify the database mode and archive destination.2. Verify connectivity using sqlnet for target and catalog.3. Determine the

OCP读书笔记(26) - 题库(ExamF)

501.Note the output of the following query;SQL> SELECT flashback_archieve_name, status FROM dba_flashback_archieve;FLASHBACK_ARCHIEVE_NAME STATUSFLA1You executed the following command to enable Flashback Data Archive on the EXCHANGB_PATE table:ALTER

OCP读书笔记(22) - 题库(ExamB)

101.Identify two situations in which you can use Data Recovery Advisor for recovery. (Choose two.) A. The user has dropped an important table that needs to be recovered. B. The database files are corrupted when the database is open. C. You are not ab

ocp 1Z0-043 61-130题解析

61. You are working in an online transaction processing (OLTP) environment. You realize that the salary for an employee, John, has been accidentally modified in the EMPLOYEES table. Two days ago, the data was in the correct state. Flashback logs gene

ocp 1Z0-043 1-60题解析

1.You observe that a database performance has degraded overa period of time. While investigating the reason, you find the size ofthe database buffer cache is not large enough to cache all the needed datablocks. Which advisory component wold you refer