ORA-38760: This database instance failed to turn on flashback database
Cause:
When i start the database and try to open the database after restore of controlfile from different database, i get flashback data generation failure error
SQL> startup mount;
ORACLE instance started.
Total System Global Area 1509949440 bytes
Fixed Size 2924640 bytes
Variable Size 956305312 bytes
Database Buffers 536870912 bytes
Redo Buffers 13848576 bytes
Database mounted.
SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-38760: This database instance failed to turn on flashback database
Error details
SQL> !oerr ora 38760
38760, 00000, "This database instance failed to turn on flashback database"
// *Cause: Database flashback is on but this instance failed to
// start generating flashback data. Look in alert log for more
// specific errors.
// *Action: Correct the error or turn off database flashback.
Workaround:
Shutdown the instance
SQL> shu immediate;
ORA-01507: database not mounted
ORACLE instance shut down.
Start the database in mount mode
SQL> startup mount;
ORACLE instance started.
Total System Global Area 1509949440 bytes
Fixed Size 2924640 bytes
Variable Size 956305312 bytes
Database Buffers 536870912 bytes
Redo Buffers 13848576 bytes
Database mounted.
Check the flashback
SQL> select flashback_on from v$database;
FLASHBACK_ON
------------------
YES
Switch off flashback
SQL> alter database flashback off;
Database altered.
SQL> select flashback_on from v$database;
FLASHBACK_ON
------------------
NO
Now open the database
SQL> alter database open resetlogs;