oracle archivelog模式與非archivelog模式轉換

來源:互聯網
上載者:User

標籤:資料庫模式 archivelog

最近Integration Environment出現歸檔日誌寫滿後,資料庫無法登入情況,詢問DBA後查明情況,私下根據DBA的尋找方案,拿開發環境做了一下資料庫模式的切換,以便做同步監控分析問題,這裡給出了資料路

首先使用dba登入,連結到資料庫之後使用

sqlplus / as sysdba;

archive log list

查看當前資料庫歸檔模式,確實為歸檔或非歸檔模式之後。
使用

shutdwon immediate

將資料庫關閉,
然後使用

startup mount

命令將資料開啟處於mount狀態
使用

1 alter database archivelog
2 或
3 alter database noarchivelog

使資料庫處于歸檔或非歸檔模式
再次通過

1 archive log list

再次確認歸檔模式
或許還要使用

1 archive log start

開啟自動歸檔
最後不要忘記

1 alter database open

開啟資料庫


本文出自 “所遇問題總結” 部落格,請務必保留此出處http://4184212.blog.51cto.com/4174212/1672117

oracle archivelog模式與非archivelog模式轉換

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.