切換Oracle的歸檔模式以及非歸檔模式

來源:互聯網
上載者:User

sqlplus /nolog

SQL> conn system/password@oraname as sysdba

首先關閉資料庫:

SQL> shutdown normal

SQL> shutdown immediate;

查看現在的狀態:

SQL> archive log list;

轉換模式

SQL> startup mount;

SQL> alter database archivelog;

SQL> alter database noarchivelog;

啟動資料庫

SQL> alter database open;

還沒搞清歸檔模式什麼用,目前我設定歸檔模式的現象就是每過幾個小時就死機一次

(資料庫服務死掉)

相關文章

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.