新聞中心
這里有您想知道的互聯網營銷解決方案
Oracle歸檔模式的運行模式的兩大類
以下的文章主要講述的是正確的啟動或是關閉Oracle歸檔模式的實際操作步驟,我們大家都知道Oracle數據庫運行于2種模式,主要實施Oracle歸檔模式(archivelog)與非歸檔模式(noarchivelog)。

專業(yè)成都網站建設公司,做排名好的好網站,排在同行前面,為您帶來客戶和效益!成都創(chuàng)新互聯公司為您提供成都網站建設,五站合一網站設計制作,服務好的網站設計公司,做網站、成都做網站負責任的成都網站制作公司!
Oracle歸檔模式可以提高Oracle數據庫的可恢復性,生產數據庫都應該運行在此模式下,歸檔模式應該和相應的備份策略相結合,只有歸檔模式沒有相應的備份策略只會帶來麻煩。
本文簡單介紹如何啟用和關閉數據庫的Oracle歸檔模式。
1.shutdown normal或shutdown immediate關閉數據庫
- oracle@jumper oracle]$ sqlplus "/ as sysdba"
- SQL*Plus: Release 9.2.0.4.0 - Production on Sat Oct 15 15:48:36 2005
- Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
- Connected to:
- Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
- With the Partitioning option
- JServer Release 9.2.0.4.0 - Production
- SQL> shutdown immediate;
- Database closed.
- Database dismounted.
- ORACLE instance shut down.
2.啟動數據庫到mount狀態(tài)
- SQL> startup mount;
- ORACLE instance started.
- Total System Global Area 101782828 bytes
- Fixed Size 451884 bytes
- Variable Size 37748736 bytes
- Database Buffers 62914560 bytes
- Redo Buffers 667648 bytes
- Database mounted.
3.啟用或停止歸檔模式
如果要啟用Oracle歸檔模式,此處使用
- alter database archivelog 命令。
- SQL> alter database archivelog;
- Database altered.
- SQL> alter database open;
- Database altered.
- SQL> archive log list;
- Database log mode Archive Mode
- Automatic archival Enabled
- Archive destination /opt/oracle/oradata/conner/archive
- Oldest online log sequence 148
- Next log sequence to archive 151
- Current log sequence 151
以上的相關內容就是對如何啟動或關閉Oracle歸檔模式的介紹,望你能有所收獲。
【編輯推薦】
- Oracle隨機函數的正確取法的描述
- Oracle Datafiles管理需要哪些項目?
- Oracle Nvl函數的實際應用有哪些?
- Oracle實現SELECT TOP N的步驟有哪些?
- Oracle數據復制如何正確操作?
新聞標題:Oracle歸檔模式的運行模式的兩大類
網頁URL:http://www.5511xx.com/article/djopgoj.html


咨詢
建站咨詢
