在Windows操作系統下安裝Oracle
只要擁有管理員權限就可以通過net start啟動一個服務
使數據庫在本地工作唯一需要運行的服務是OracleServiceORCL 服務(其中ORCL 是SID)
OracleOraHome
OracleOraHome
OracleOraHome
有四個服務是Oracle 企業管理器所必須的(Oracle Enterprise Manager)
OracleMTSRecoveryService 是可選的
如果只是偶爾使用一下數據庫
REM
@echo off
set ORAHOME=
set ORASID=
net start OracleService%ORASID%
REM net start Oracle%ORAHOME%HTTPServer
REM net start Oracle%ORAHOME%TNSListener
REM net start Oracle%ORAHOME%ClientCache
REM net start Oracle%ORAHOME%Agent
REM net start Oracle%ORAHOME%SNMPPeerEncapsulator
REM net start Oracle%ORAHOME%SNMPPeerMasterAgent
REM net start Oracle%ORAHOME%PagingServer
REM net start OracleMTSRecoverService
REM
@echo off
set ORAHOME=
set ORASID=
net stop OracleService%ORASID%
REM net stop Oracle%ORAHOME%HTTPServer
REM net stop Oracle%ORAHOME%TNSListener
REM net stop Oracle%ORAHOME%ClientCache
REM net stop Oracle%ORAHOME%Agent
REM net stop Oracle%ORAHOME%SNMPPeerEncapsulator
REM net stop Oracle%ORAHOME%SNMPPeerMasterAgent
REM net stop Oracle%ORAHOME%PagingServer
REM net stop OracleMTSRecoverService
From:http://tw.wingwit.com/Article/program/Oracle/201311/18533.html