oracle 啟動管理器

2021-05-10 14:12:49 字數 891 閱讀 1328

emctl start dbconsole 是10g的啟動console服務的命令

將oem服務停止emctl stop dbconsole

emctl start dbconsole啟動em console服務,使用前需要先設定oracle_sid環境變數

emctl stop dbconsole停止em console服務,使用前需要先設定oracle_sid環境變數

關閉資料庫後應該首先用sysdba登陸,這樣就進入了sys模式.  

sql>connect   system/system@oradb   as   sysdba;  

--載入例項,不開啟資料庫  

sql>startup   open;

oracle 資料庫的幾個關閉方法

對於oracle來講,關閉的方法有三個:

在svrmgrl下可以輸入如下語句,就可關閉資料庫,但每個語句都有自己的作用,有的語句還必須慎重使用

1、shutdown normal (從字面就可理解這是乙個用正常的方式來關閉資料庫。)

2、shutdown immediate (立即方式關閉資料庫。)

當執行shutdown immediate時,資料庫並不立即關閉,而是在oracle執行完內部的必要的工作後才關閉,shutdown immediate可以完成shutdown不能對資料庫關閉的操作。建議dba們常用此方法關閉資料庫

3、shutdown abort (直接關閉資料庫)

這個停止的方法不推薦,因為對於正在訪問資料庫的會話會被突然終止,可能會造成資料庫的資料丟失,並且如果資料庫中有大量操作正在執行,這時執行shutdown abort後,重新啟動資料庫需要很長時間。

Linux啟動管理器

啟動管理器是儲存在磁碟開始扇區中的一段程式,例如,硬碟的mbr master boot record 在系統完成啟動測試後,如果系統是從mbr啟動,則bios basic input output system 將控制傳送給mbr。然後儲存在mbr中的這段程式將執行。這 段程式被稱為啟動管理器。它的...

自動啟動管理器

介面如下 主要 如下 1 實現檔案2 34 include stdafx.h 5 include managerun.h 6 include managerundlg.h 7 include regadd.h 8 9 ifdef debug 10 define new debug new 11 en...

SQL SERVER 服務管理器無法啟動

狀況描述 在伺服器的管理中重新啟動mssqlserver啟動後馬上又停止 通過 事件檢視器 發現 錯誤 9003,嚴重度 20,狀態 1 lsn 5 324 1 無效。該 lsn 是傳遞給資料庫 model 中的日誌掃瞄操作。錯誤 9003,嚴重度 20,狀態 1 the lsn 5 324 1 p...