自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

Oracle數(shù)據(jù)庫的啟用與關(guān)閉的歸檔模式

數(shù)據(jù)庫 Oracle
本文主要是介紹如何啟用與關(guān)閉Oracle數(shù)據(jù)庫的相關(guān)歸檔模式,如果你對(duì)其實(shí)際操作感興趣的話,你就可以點(diǎn)擊以下的文章了。

我們大家都知道Oracle數(shù)據(jù)庫可以在2種模式下運(yùn)行,即,歸檔模式(archivelog)與非歸檔模式(noarchivelog),歸檔模式的主要作用是提高數(shù)據(jù)庫的可恢復(fù)性,其實(shí)際生產(chǎn)的數(shù)據(jù)庫都應(yīng)該運(yùn)行在此模式下,

歸檔模式應(yīng)該和相應(yīng)的備份策略相結(jié)合,只有歸檔模式?jīng)]有相應(yīng)的備份策略只會(huì)帶來麻煩。

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)Oracle數(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.啟用或停止歸檔模式

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

 

  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數(shù)據(jù)庫的歸檔模式的描述,希望會(huì)給你帶來一些幫助在此方面。

【編輯推薦】

  1. Oracle數(shù)據(jù)庫的性能完全保護(hù)的4個(gè)項(xiàng)目
  2. 提高Oracle SQL的執(zhí)行效率的3個(gè)方案
  3. Oracle存儲(chǔ)過程定時(shí)執(zhí)行2種方法
  4. 實(shí)現(xiàn)Oracle傳輸表空間的實(shí)際功能解析
  5. Oracle數(shù)據(jù)庫中兩個(gè)易被忽視的進(jìn)程

 

責(zé)任編輯:佚名 來源: 互聯(lián)網(wǎng)
相關(guān)推薦

2011-08-01 13:28:09

Oracle歸檔模式非歸檔模式

2017-06-06 08:10:00

Oracle

2011-08-24 17:08:28

Oracle數(shù)據(jù)庫歸檔模式

2021-05-20 08:23:13

Oracle數(shù)據(jù)庫rac啟用

2011-03-28 15:44:45

惠普數(shù)據(jù)庫Oracle數(shù)據(jù)庫

2010-04-09 16:40:01

Oracle數(shù)據(jù)庫

2010-10-29 15:14:36

Oracle自動(dòng)歸檔

2011-08-02 11:16:08

Oracle數(shù)據(jù)庫歸檔日志

2010-11-19 13:28:13

2011-04-12 10:09:33

Oracle數(shù)據(jù)庫關(guān)閉

2010-05-10 09:59:47

Oracle手動(dòng)歸檔模

2011-08-23 15:16:54

OracleMySQL

2010-04-27 13:49:04

Oracle數(shù)據(jù)庫

2011-03-14 13:11:07

Oracle數(shù)據(jù)庫

2010-11-19 14:51:09

Oracle數(shù)據(jù)庫關(guān)閉

2010-05-07 16:13:07

Oracle歸檔模式

2010-04-15 15:52:12

Oracle數(shù)據(jù)庫

2010-05-07 16:01:21

Oracle歸檔模式

2010-04-02 17:11:45

Oracle數(shù)據(jù)庫

2009-01-20 23:13:24

Oracle 10G數(shù)據(jù)庫
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)