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

Oracle歸檔模式的運(yùn)行模式的兩大類

數(shù)據(jù)庫(kù) Oracle
我們大家都知道Oracle歸檔模式的運(yùn)行是可以在2種不同的模式之下的,那么它到底是如何具體的運(yùn)行呢?以下的文章就有給出答案。

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

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

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

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

  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ù)庫(kù)到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ù)制如何正確操作?
責(zé)任編輯:佚名 來(lái)源: 博客園
相關(guān)推薦

2020-12-29 07:56:23

JavaScript數(shù)據(jù)類型 primitive

2010-09-26 16:04:48

JVM內(nèi)存溢出

2010-10-29 15:14:36

Oracle自動(dòng)歸檔

2010-05-10 09:59:47

Oracle手動(dòng)歸檔模

2010-06-11 17:01:09

Windows Pho

2010-05-07 16:01:21

Oracle歸檔模式

2011-08-01 13:28:09

Oracle歸檔模式非歸檔模式

2010-06-09 10:38:07

UML類圖

2010-10-29 15:07:33

oracle日志

2010-04-30 16:34:43

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

2010-10-29 14:57:12

Oracle歸檔模式

2010-04-30 16:42:08

Oracle歸檔模式

2011-08-24 17:08:28

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

2010-05-04 14:30:45

Oracle數(shù)據(jù)

2011-02-23 12:49:31

KonquerorEmbedded

2010-06-02 15:29:06

SVN版本控制

2010-07-14 16:16:16

Telnet模式

2010-07-13 16:12:15

DHCP協(xié)議

2010-04-12 10:16:55

Oracle存儲(chǔ)過(guò)程
點(diǎn)贊
收藏

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