錯誤碼ORA-16038的解決辦法

來源:互聯網
上載者:User

SQL> startup
ORA-32004: obsolete and/or deprecated parameter(s) spec

Oracle 常式已經啟動。
Total System Global Area  314572800 bytes
Fixed Size                  1248768 bytes
Variable Size             171966976 bytes
Database Buffers          134217728 bytes
Redo Buffers                7139328 bytes

資料庫裝載完畢。
ORA-16038: 日誌 3 序號 84 無法歸檔
ORA-19809: 超出了恢複檔案數的限制
ORA-00312: 聯機日誌 3 線程 1:
'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG'
SQL> select group#,sequence#,archived ,status from v$lo
    GROUP#  SEQUENCE# ARC STATUS
---------- ---------- --- ----------------
         1         86 NO  CURRENT
         3         84 NO  INACTIVE
         2         85 NO  INACTIVE
SQL> alter database clear logfile group 3;
alter database clear logfile group 3
*
第 1 行出現錯誤:
ORA-00350: 日誌 3 (執行個體 orcl 的日誌, 線程 1) 需要歸檔
ORA-00312: 聯機日誌 3 線程 1:
'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG'
SQL> archive log list     /*查看歸檔模式*/

資料庫記錄模式            存檔模式
自動封存             啟用
存檔終點            USE_DB_RECOVERY_FILE_DEST
最早的聯機日誌序列     84
下一個存檔日誌序列   84
當前日誌序列           86
SQL> alter database open;
alter database open
*
第 1 行出現錯誤:
ORA-16014: 日誌 3 的序號 84 未歸檔, 沒有可用的目的地
ORA-00312: 聯機日誌 3 線程 1:
'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG'
SQL> alter database clear unarchived logfile group 3; 
/*清除無用的非歸檔的記錄檔組*/
資料庫已更改。
SQL> alter database open;
資料庫已更改。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.