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

Oracle數(shù)據(jù)庫重新啟動(dòng)的方法

數(shù)據(jù)庫 Oracle
Oracle數(shù)據(jù)庫是大家都非常熟悉的數(shù)據(jù)庫系統(tǒng),下文就將教您重新啟動(dòng)Oracle的詳細(xì)步驟方法,希望可以對您能有所幫助。

Oracle數(shù)據(jù)庫重新啟動(dòng)應(yīng)該如何實(shí)現(xiàn)呢?這是很多人都提到過的問題,下面就為您詳細(xì)介紹Oracle數(shù)據(jù)庫重新啟動(dòng)的方法,供您參考。

1. 停應(yīng)用層的各種程序。

2. 停oralce的監(jiān)聽進(jìn)程:

$lsnrctl stop

3. 在獨(dú)占的系統(tǒng)用戶下,備份控制文件:

SQL>alter database backup controlfile to trace;

4. 在獨(dú)占的系統(tǒng)用戶下,手工切換重作日志文件,確保當(dāng)前已修改過的數(shù)據(jù)存入文件:

SQL>alter system switch logfile;

5. 在獨(dú)占的系統(tǒng)用戶下,運(yùn)行下面SQL語句,生成殺數(shù)據(jù)庫用戶連接的kill_all_session.sql文件:

set head off;

set feedback off;

set newpage none;

spool /oracle_backup/bin/kill_all_session.sql

select 'alter system kill session '''||sid||',

'||serial#||''';' from v$session where username is not null;

spool off;

6. 在獨(dú)占的系統(tǒng)用戶下,執(zhí)行殺數(shù)據(jù)庫用戶連接的kill_all_session.sql文件:

SQL>@/oracle_backup/bin/kill_all_session.sql

7. 在獨(dú)占的系統(tǒng)用戶下,用immediate方式關(guān)閉數(shù)據(jù)庫:

SQL>shutdown immediate;

或者

SVRMGRL>shutdown immediate;

8. 啟動(dòng)oralce的監(jiān)聽進(jìn)程:

$lsnrctl start

9. 進(jìn)入獨(dú)占的系統(tǒng)用戶下,啟動(dòng)oralce數(shù)據(jù)庫:

$sqlplus /nolog

SQL>connect / as sysdba

SQL>startup;

或者:

$svrmgrl

SVRMGRL>connect internal;

SVRMGRL>startup;

10.啟動(dòng)應(yīng)用層的各種程序。

以上就是Oracle數(shù)據(jù)庫重新啟動(dòng)的方法介紹。

 

 

 

【編輯推薦】

Oracle存儲(chǔ)過程使用動(dòng)態(tài)SQL

Oracle字符串連接的方法

JAVA創(chuàng)建Oracle存儲(chǔ)過程的實(shí)現(xiàn)

Oracle后臺(tái)進(jìn)程介紹

Oracle自動(dòng)歸檔模式的設(shè)置

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

2010-04-15 11:34:09

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

2010-11-19 14:42:37

Oracle數(shù)據(jù)庫啟動(dòng)

2010-05-17 17:54:15

IIS服務(wù)器

2010-11-15 10:24:24

啟動(dòng)Oracle數(shù)據(jù)庫

2010-12-21 09:27:06

Windows服務(wù)器

2011-02-13 13:44:08

Linux關(guān)機(jī)重新啟動(dòng)

2010-10-26 11:04:48

oracle數(shù)據(jù)導(dǎo)入

2010-05-06 09:30:16

Oracle創(chuàng)建數(shù)據(jù)庫

2010-10-28 14:18:01

oracle數(shù)據(jù)庫版本

2010-10-27 14:15:44

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

2011-04-13 14:07:17

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

2010-03-31 16:28:11

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

2011-04-12 10:09:33

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

2011-02-28 13:31:17

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

2018-07-03 15:05:34

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

2010-10-26 15:54:02

連接oracle數(shù)據(jù)庫

2011-03-14 13:33:32

Oracle數(shù)據(jù)庫啟動(dòng)

2011-04-12 15:44:08

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

2010-10-27 17:11:35

oracle查詢

2010-04-20 11:41:55

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

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