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

淺析linux下Oracle 10g啟動與關(guān)閉

數(shù)據(jù)庫 Oracle
Windows平臺下的Oracle文章有很多,現(xiàn)在就Linux下Oracle 10g的啟動與關(guān)閉作簡單說明。主要包含啟動TNS監(jiān)聽器,用sqlplus啟動數(shù)據(jù)庫等。

Windows平臺下的Oracle文章有很多,現(xiàn)在就Linux下Oracle 10g的啟動與關(guān)閉作簡單說明。

1,以linux下Oracle用戶登錄

  1. su oracle  

2,啟動TNS監(jiān)聽器

  1. $ORACLE_HOME/bin/lsnrctl start  

3,用sqlplus啟動數(shù)據(jù)庫

  1. $ORACLE_HOME/bin/sqlplus /nolog   
  2. SQL> connect system/change_on_install as sysdba   
  3. SQL> startup  

出現(xiàn)如下顯示,表示在linux下Oracle已經(jīng)成功啟動

  1. ORACLE instance started.  
  2. Total System Global Area  205520896 bytes  
  3. Fixed Size                   778392 bytes  
  4. Variable Size              74456936 bytes  
  5. Database Buffers          130023424 bytes  
  6. Redo Buffers                 262144 bytes  
  7. Database mounted.  
  8. Database opened.  
  9.  

4,用sqlplus停止數(shù)據(jù)庫

  1. $ORACLE_HOME/bin/sqlplus /nolog   
  2. SQL> connect system/change_on_install as sysdba   
  3. SQL> shutdown  
  4.  

注:shutdown可加關(guān)閉選項,從最溫和到最粗暴的行為選項為(shutdown、shutdown transactional、shutdown immediate、shutdown abort)
命令解釋如下

  1. shutdown:關(guān)閉,等待每個用戶退出系統(tǒng)戓被取消后退出關(guān)閉數(shù)據(jù)庫。  
  2. shutdown transactional:事務(wù)性關(guān)閉,等待每個用戶提交戓回退當(dāng)前的事務(wù),然后oracle取消對話,在所有用戶退出系統(tǒng)后執(zhí)行關(guān)閉。  
  3. shutdown immediate:直接關(guān)閉,取消所有用戶對話(促使回退),執(zhí)行正常的關(guān)閉程序。  
  4. shutdown abort:終止關(guān)閉,關(guān)閉數(shù)據(jù)庫時沒有自動檢查點戓日志開關(guān)。  
  5.  

出現(xiàn)如下顯示,表示oracle已經(jīng)停止

  1. Database closed.  
  2. Database dismounted.  
  3. ORACLE instance shut down.  

注:$ORACLE_HOME為oracle的安裝路徑

以上就Linux下Oracle 10g的啟動與關(guān)閉作做了些匯總,要想了解的其他相關(guān)問題的解決方案,請留意本站上的相關(guān)論壇。

【編輯推薦】

  1. Oracle性能診斷不能不知的秘籍
  2. Oracle 10g歸檔日志
  3. Windows2000服務(wù)器下安裝Oracle9i與10g
  4. Oracle多表查詢優(yōu)化的代碼示例
  5. Oracle更改的默認(rèn)端口號剖析
責(zé)任編輯:佚名
相關(guān)推薦

2011-05-13 11:21:51

linuxoracle 10g安裝

2010-04-09 17:25:05

Oracle 10G

2010-04-19 17:37:51

Oracle 10g

2009-01-20 23:13:24

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

2009-07-10 11:21:08

MyEclipse 6連接Oracle

2011-07-27 14:22:41

Oracle 10g DBA賬戶

2010-04-14 16:09:51

Oracle 10g歸

2010-04-15 14:47:50

Oracle 10g

2014-04-22 13:37:36

PONEPONGPON

2010-02-03 16:16:49

Linux Oracl

2011-03-25 16:10:58

oraclenagios

2010-04-29 17:13:51

Oracle 10g

2010-04-28 18:06:32

Oracle 10g

2011-07-19 13:28:31

Oracle 10g

2009-10-23 15:54:01

Oracle 10g序

2010-02-05 09:06:14

Ubuntu Orac

2010-05-05 15:58:34

Oracle 10g

2009-11-19 10:32:41

Oracle 10g服

2010-03-30 19:31:25

Oracle 10g

2010-04-13 10:07:19

Oracle 10G
點贊
收藏

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