偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

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

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

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

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

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.啟動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)容就是對如何啟動或關(guān)閉Oracle數(shù)據(jù)庫的歸檔模式的描述,希望會給你帶來一些幫助在此方面。

【編輯推薦】

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

 

責任編輯:佚名 來源: 互聯(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自動歸檔

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手動歸檔模

2011-08-23 15:16:54

OracleMySQL

2010-04-27 13:49:04

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

2010-05-07 16:13:07

Oracle歸檔模式

2010-11-19 14:51:09

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

2011-03-14 13:11:07

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

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ù)庫

2010-04-28 16:37:31

Oracle數(shù)據(jù)字典
點贊
收藏

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