ORA-38760: This database instance failed to turn on flashback database 第三篇,ora-38760flashback

來源:互聯網
上載者:User

ORA-38760: This database instance failed to turn on flashback database 第三篇,ora-38760flashback

ORA-38760: This database instance failed to turn on flashback database  第三篇

 

第一篇

第二篇


問題現象:
     在資料庫alert警示日誌中看見如下資訊:

Completed: ALTER DATABASE   MOUNTWed Nov 19 04:57:28 2014alter database openErrors in file /DBSoft/diag/rdbms/woo/woo/trace/woo_ora_5936.trc:ORA-38760: This database instance failed to turn on flashback databaseORA-38760 signalled during: alter database open...

 

問題分析:
    該錯誤通過查看Metalink 後得知是因為Flash back資訊不完整導致。

[oracle@db01 ~]$ oerr or 38760oerr: Unknown facility 'or'[oracle@db01 ~]$ oerr ora 3876038760, 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.


        這個時候我根據以往的經驗嘗試關閉閃回,再次開啟資料庫,還是報ORA-38760錯誤,此時,警示日誌中只是產生了一個woo_ora_5936.trc追蹤檔案,裡面有看到有用的資訊。

       這個時候,我想需要去查看下閃回的狀態的了

SQL> select flashback_on from v$database;FLASHBACK_ON------------------RESTORE POINT ONLY

 

再接著查看恢複檢查點:

SQL> select * from v$restore_point;       SCN DATABASE_INCARNATION# GUA STORAGE_SIZE TIME                                RESTORE_POINT_TIME        PRE NAME---------- --------------------- --- ------------ ----------------------------------- ------------------------- --- --------------------   1187867                     2 YES   3056812032 04-OCT-14 02.41.43.000000000 AM                               YES MACLEAN_ROLLBACK

 

解決辦法:

1、刪除復原點MACLEAN_ROLLBACKSQL> drop restore point MACLEAN_ROLLBACK;Restore point dropped.SQL> select * from v$restore_point;no rows selected2、啟動資料庫,並查看flashback狀態SQL> alter database open;Database altered.SQL> select flashback_on from v$database;FLASHBACK_ON------------------NO

 

總結:
    這個問題時控制檔案與閃回去記錄檔中所記錄的資訊不一致導致的。因此,冷備份的時候,最好將閃回去一併進行備份。
    當然該問題還可以通過使用冷備分加上對於閃回去的備份,可以直接啟動資料庫執行個體。

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.