79929

79929



Rewinding a Database Using Oracle Flashback Database

Unlikc thc othcr flashback fcatures, Oracle Flashback Database operates at a physical level. When you usc Flashback Database, your currcnt data files revert to their contents at a previous time. The result is similar to database point-in-timc recovery, but Flashback Database can be much faster bccause it does not rcquirc you to restore and recovcr data files. Also, Flashback Database requires limited application of redo data as compared to media recovery.

Flashback Database uses flashback logs to access previous versions of data blocks and also uses some data in the archived redo log files. To have thc option of using Flashback Database to repair your database, you must have configured thc database to generate flashback logs as explained in "Configuring Recovery Settings" on page 9-10. To perform a Flashback Database operation:

1.    Connect RMAN to the target database as describcd in "Connecting to thc Target Database" on page 9-9.

2.    Identify the desired SCN, restore point, or point in time to which the flashback database must be performed. This example rewinds the database to a specified point in time.

3.    Shut down the database consistently, ensure that it is not opened by any instance, and then mount the database.

SHUTDOWN IMMEDIATE;

STARTUP MOUNT;

4.    Flash back the database to the desired time.

In this example, you need to flashback the entire database to the time specified in the TIME clause.

FLASHBACK DATABASE to TIME "TO_DATE('03/20/12'MM/DD/YY')";

5.    Open the database read-only and run some queries to verify the database contents. The following command opens the database in read-only modę:

ALTER DATABASE OPEN READ ONLY;

6.    Aftcr confirming that the statc of thc database is as expected. make thc database available for updates by opening it with the RESETLOGS option.



Wyszukiwarka

Podobne podstrony:
Rewinding a Table Using Oracle Flashback Table Oracle Flashback Table enables you to rewind one or m
Recovering a Dropped Table Using Oracle Flashback Drop Oracle Flashback Drop cnablcs you to rcversc
Chapter 3: Using Oracle VM VirtualBoxOverview To set up SAS University Edition: 1)    
S20C 409120813432 Right Wing Using the Lop width cf thc .cft Winę as a guide, measure l le same dist
gineers have accomplished rcmarkabic things with mulłiple microphoncs and speaker arrays. On th
Creating and Managing a Databasewith DBCA Unlcss you spccified that only thc Oracle Databasc softwar
Installing Oracle Database Software This section briefly dcscribcs thc stcps for a dcsktop-class ins
To connect to an Oracle database from a Client Computer using easy connect naming: 1.   &n
5) Oracle Database for the alignment monitoring tables, optical sensors data and conditions data, ma
Computer Systems architccture. Charactcristics of database Systems and SQL query language, thc probl
About Data Files Data files arc thc operating system files that storę the data within the databasc.
About Database Storage Structures An Oracle database is madę up of physical and logical structures.
About Online Redo Log Files Every Oracle database has a set of two or morę online redo log files. Th
About Oracle Database Oracle Database is a rclational database with objcct and Extcnsiblc Markup Lan

więcej podobnych podstron