恢復完成後,開啟資料庫報錯 ORA-01092: ORA-30012: undo tablespace
阿新 • • 發佈:2022-01-19
資料恢復完成後,開啟資料庫報錯
RMAN> alter database open resetlogs; RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: alter db 命令 (在 01/19/2022 09:40:13 上) 失敗 ORA-01092: ORACLE instance terminated. Disconnection forced ORA-30012: undo tablespace 'devices' does not exist or of wrong type 程序 ID: 9320 會話 ID: 5 序列號: 11 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== ORA-03114: 未連線到 ORACLE RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: alter db 命令 (在 01/19/2022 09:40:13 上) 失敗 ORA-01092: ORACLE instance terminated. Disconnection forced ORA-30012: undo tablespace 'devices' does not exist or of wrong type 程序 ID: 9320 會話 ID: 5 序列號: 11
報undo的錯誤,檢視undo引數
SQL> show parameter undo; NAME TYPE ------------------------------------ ---------------------- VALUE ------------------------------ undo_management string AUTO undo_retention integer 900 undo_tablespace string devices
原有的undo名稱是UNDOTBS1,修改pfile引數,在最後一行新增undo_tablespace=UNDOTBS1
重啟啟動後正常。
參考文件:https://blog.csdn.net/cwg_1992/article/details/10138769