Having 9 year’s Plus of extensive experience in the IT industry involving Production Database Administration ,Azure Cloud Migration, Progress And Mysql and SQL Server Administration,Oracle.
Monday, September 24, 2018
How to enable Flashback in oracle database 11g
Flashback in Oracle Database
Flashback technology is a set of features in Oracle database that make
your work easier to view past states of data or to move your database objects
to a previous state without using point in time media recovery.
If you have performed DML+COMMIT and now you want to rollback that
operation, this can be done easily through FLASHBACK technology without using
point in time media recovery.
SQL> alter system set db_recovery_file_dest='/test/FLASHBACK';
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down
SQL> startup mount;
ORACLE instance started.
Total System Global Area 1025298432 bytes
Fixed Size
1341000 bytes
Variable Size 322963896 bytes
Database Buffers 696254464 bytes
Redo Buffers
4739072 bytes
Database mounted.
7. Change the Flashback mode of the database
SQL> select flashback_on from v$database;
SQL>alter database flashback ON;
SQL> select flashback_on from v$database;
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down
SQL> startup mount;
ORACLE instance started.
Total System Global Area 1025298432 bytes
Fixed Size
1341000 bytes
Variable Size 322963896 bytes
Database Buffers 696254464 bytes
Redo Buffers
4739072 bytes
Database mounted.
SQL> select flashback_on from v$database;
SQL> select flashback_on from v$database;
FLASHBACK mode of the database has been disabled.
Subscribe to:
Post Comments (Atom)
How to create user in MY SQL
Create a new MySQL user Account mysql > CREATE USER ' newuser '@'localhost' IDENTIFIED BY ' password '...
-
Hii All Today i'm posting lock script. sometime some session block to other session. This situation is very critical because our wh...
-
IMPOTED Excel/Text File Data Into Oracle Table Using TOAD Step 1 : Open TOAD. Step 2 : Write the following query to create a test tabl...
-
Auditing in Oracle Database The Oracle Server provides several auditing options. The following three types of audits are provi...
No comments:
Post a Comment