Oracle 歸檔模式與非歸檔模式的切換

來源:互聯網
上載者:User

Oracle 歸檔模式與非歸檔模式的切換

1.查看oracle是否處于歸檔模式

arichive log list;

資料庫記錄模式            非存檔模式
自動封存            禁用
存檔終點            USE_DB_RECOVERY_FILE_DEST
最早的聯機日誌序列    6
當前日誌序列          8

顯示oracle此時為非歸檔模式,下面將它設定為歸檔模式。

2.輸入:shutdown

資料庫已經關閉。
已經卸載資料庫。
ORACLE 常式已經關閉。


3.以mount模式啟動資料庫,輸入:startup mount

資料庫已經關閉。
已經卸載資料庫。
ORACLE 常式已經關閉。


4.修改為歸檔模式,alter database arichive;

資料庫已更改。

此時已經修改完成,查看一下:arichive log list

資料庫記錄模式            存檔模式
自動封存            啟用
存檔終點            USE_DB_RECOVERY_FILE_DEST
最早的聯機日誌序列    6
下一個存檔日誌序列  8
當前日誌序列          8

Oracle 11G RAC 修改歸檔模式

Oracle手工完全恢複案例(歸檔模式)

Oracle手工恢複案例(非歸檔模式)

Oracle歸檔模式設定的相關指令與簡要說明

Oracle 10g 歸檔模式下備份指令碼

相關文章

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.