01.09.2016 Views

Beginning Oracle Database 11g Administration From Novice to Professional

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

288<br />

CHAPTER 13 RECOVERY<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Flashback Data Archive<br />

This feature was introduced in <strong>Oracle</strong> <strong>Database</strong> <strong>11g</strong>. An archive can be created <strong>to</strong> s<strong>to</strong>re<br />

all changes made <strong>to</strong> data rows during the lifetime of a table. The archive is not dependent<br />

on the undo segments and, consequently, its contents are not lost if the information in the<br />

undo segments is overwritten by new transactions. A complete discussion is outside the<br />

scope of this chapter.<br />

Flashback <strong>Database</strong><br />

The biggest weapon in the armory of flashback features is the command.<br />

For example, let’s suppose that major changes are being made <strong>to</strong> the database.<br />

You need <strong>to</strong> simply create a res<strong>to</strong>re point by using the command. If<br />

the changes need <strong>to</strong> be tested and test data created before releasing the database <strong>to</strong> the<br />

users, you could simply create a second res<strong>to</strong>re point. If the testing is successful, the test<br />

data can be completely erased by reverting <strong>to</strong> the second res<strong>to</strong>re point, and the database<br />

can then be released <strong>to</strong> the users. If the testing is unsuccessful, you can simply revert <strong>to</strong><br />

the first res<strong>to</strong>re point <strong>to</strong> wipe out all traces of your changes.<br />

The use of the command requires that the database be shut down<br />

and then brought in<strong>to</strong> the state. After the command has completed, the database<br />

must be opened with the option. All this can be most simply accomplished<br />

from the User Directed Recovery section of the Perform Recovery page of Enterprise<br />

Manager, shown in Figure 13-1.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!