In Oracle Database 10g, flashback functionality has been extended. The Flashback Database feature provides a way for you to quickly revert your entire Oracle database to the state it was in at a past point in time. In addition to flashback operations at the database level, it is also possible to flash back an entire table. You can also quickly recover a table that has been inadvertently dropped. The existing flashback query capabilities have also been enhanced.
Configuring the Flash Recovery Area
The flash recovery area is a unified storage location for all recovery related files and activities in an Oracle database. All files that are needed to completely recover a database from a media failure are part of the flash recovery area. The recovery related files that can be created in the flash recovery area include: archived redo log files, control files, backups created by Recovery Manager (RMAN), flashback logs, and the change tracking file.
By allocating a storage location and unifying related recovery files within a specific area, the Oracle database server relieves the database administrator from having to manage the disk files created by these components.Follow the steps below to verify that your database is in ARCHIVELOG mode and configure the flash recovery area.
Log in to Enterprise Manager Database Console by opening your browser and entering the following URL:
http://localhost:1158/em
Enter sys/oracle as SYSDBA and click Login.

The Oracle Database Home page allows you to view the current state of the database by displaying a series of metrics that portray the overall health of the database. The Oracle Database Home page provides a launch point for the database status and administration and configuration of the database environment. It contains four pages via subtabs with each page displaying subsections. Click on the Maintenance tab.

Under Backup/Recovery Settings, click Recovery Settings.

You need to put the database in archivelog mode. In the Media Recovery section, select the ARCHIVELOG Mode check box. Then scroll down to the Flash Recovery Area section.

Scroll down to the Flash Recovery Area region of the page and click Enable Flashback Database. Change the Flashback Retention Time to 6 hours, and then click Apply.

Click Yes to restart the database.

Enter your Host Credentials as oracle/ and Database Credentials as sys/ as SYSDBA. Check the box to Save as Preferred Credentials and then click OK.

Click Yes to confirm.

Your database is being restarted. Wait about 10 minutes and click Refresh.

Once you click Refresh, the DB Control Home Page appears and you are automatically logged in as the SYS user.


0 comments:
Post a Comment