0% found this document useful (0 votes)
66 views1 page

Enable Flashback On 10g Database

To enable flashback on a database, log in to the database host and set the ORACLE_SID environment variable. Use SQL*Plus with sysdba rights to shut down the database, mount it exclusively, and set the flashback retention target. Finally, enable flashback and open the database with the appropriate SQL commands.

Uploaded by

Jabras Guppies
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views1 page

Enable Flashback On 10g Database

To enable flashback on a database, log in to the database host and set the ORACLE_SID environment variable. Use SQL*Plus with sysdba rights to shut down the database, mount it exclusively, and set the flashback retention target. Finally, enable flashback and open the database with the appropriate SQL commands.

Uploaded by

Jabras Guppies
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

ENABLE FLASHBACK ON A DATABASE

Heres how to enable flashback : 1. 2. 3. 4. 5. Logon to the database host. Change to the user that runs the instance. Set ORACLE_SID environment variable to the database SID. Login using SQL*Plus as sys with sysdba rights. Run the following SQL commands. SQL> SHUTDOWN IMMEDIATE; SQL> STARTUP MOUNT EXCLUSIVE; SQL> ALTER SYSTEM SET DB_FLASHBACK_RETENTION_TARGET=20G
SCOPE=SPFILE;

SQL> ALTER DATABASE FALSHBACK ON; SQL> ALTER DATABASE OPEN;

You might also like