日本综合一区二区|亚洲中文天堂综合|日韩欧美自拍一区|男女精品天堂一区|欧美自拍第6页亚洲成人精品一区|亚洲黄色天堂一区二区成人|超碰91偷拍第一页|日韩av夜夜嗨中文字幕|久久蜜综合视频官网|精美人妻一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時(shí)間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
Oracle歸檔模式的運(yùn)行模式的兩大類

以下的文章主要講述的是正確的啟動(dòng)或是關(guān)閉Oracle歸檔模式的實(shí)際操作步驟,我們大家都知道Oracle數(shù)據(jù)庫運(yùn)行于2種模式,主要實(shí)施Oracle歸檔模式(archivelog)與非歸檔模式(noarchivelog)。

專業(yè)成都網(wǎng)站建設(shè)公司,做排名好的好網(wǎng)站,排在同行前面,為您帶來客戶和效益!成都創(chuàng)新互聯(lián)公司為您提供成都網(wǎng)站建設(shè),五站合一網(wǎng)站設(shè)計(jì)制作,服務(wù)好的網(wǎng)站設(shè)計(jì)公司,做網(wǎng)站、成都做網(wǎng)站負(fù)責(zé)任的成都網(wǎng)站制作公司!

Oracle歸檔模式可以提高Oracle數(shù)據(jù)庫的可恢復(fù)性,生產(chǎn)數(shù)據(jù)庫都應(yīng)該運(yùn)行在此模式下,歸檔模式應(yīng)該和相應(yīng)的備份策略相結(jié)合,只有歸檔模式?jīng)]有相應(yīng)的備份策略只會(huì)帶來麻煩。

本文簡單介紹如何啟用和關(guān)閉數(shù)據(jù)庫的Oracle歸檔模式。

1.shutdown normal或shutdown immediate關(guān)閉數(shù)據(jù)庫

 
 
 
  1. oracle@jumper oracle]$ sqlplus "/ as sysdba"  
  2. SQL*Plus: Release 9.2.0.4.0 - Production on Sat Oct 15 15:48:36 2005  
  3. Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.  
  4. Connected to:  
  5. Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production  
  6. With the Partitioning option  
  7. JServer Release 9.2.0.4.0 - Production  
  8. SQL> shutdown immediate;  
  9. Database closed.  
  10. Database dismounted.  
  11. ORACLE instance shut down.  

2.啟動(dòng)數(shù)據(jù)庫到mount狀態(tài)

 
 
 
  1. SQL> startup mount;  
  2. ORACLE instance started.  
  3. Total System Global Area 101782828 bytes  
  4. Fixed Size 451884 bytes  
  5. Variable Size 37748736 bytes  
  6. Database Buffers 62914560 bytes  
  7. Redo Buffers 667648 bytes  
  8. Database mounted.  

3.啟用或停止歸檔模式

如果要啟用Oracle歸檔模式,此處使用

 
 
 
  1. alter database archivelog 命令。  
  2. SQL> alter database archivelog;  
  3. Database altered.  
  4. SQL> alter database open;  
  5. Database altered.  
  6. SQL> archive log list;  
  7. Database log mode Archive Mode  
  8. Automatic archival Enabled  
  9. Archive destination /opt/oracle/oradata/conner/archive  
  10. Oldest online log sequence 148  
  11. Next log sequence to archive 151  
  12. Current log sequence 151   

以上的相關(guān)內(nèi)容就是對(duì)如何啟動(dòng)或關(guān)閉Oracle歸檔模式的介紹,望你能有所收獲。

【編輯推薦】

  1. Oracle隨機(jī)函數(shù)的正確取法的描述
  2. Oracle Datafiles管理需要哪些項(xiàng)目?
  3. Oracle Nvl函數(shù)的實(shí)際應(yīng)用有哪些?
  4. Oracle實(shí)現(xiàn)SELECT TOP N的步驟有哪些?
  5. Oracle數(shù)據(jù)復(fù)制如何正確操作?

網(wǎng)頁標(biāo)題:Oracle歸檔模式的運(yùn)行模式的兩大類
分享網(wǎng)址:http://www.dlmjj.cn/article/djopgoj.html