如果你把oracle11g装在笔记本上并让服务开机启动的话,会明显感受到笔记本比平时启动慢几十秒,
差点的甚至1-2分钟,但是不开机启动吧,每次到服务里打开,很麻烦...
用批处理文件打开和关闭不失为一个好办法。
-------Oracle服务启动.bat-----------------
@echo off
@ ECHO 启动 Oracle 11g 服务
net start "OracleDBConsoleorcl"
net start "OracleMTSRecoveryService"
net start "OracleOraDb11g_home1TNSListener"
net start "OracleServiceORCL"
@ ECHO 启动完毕 按任意键继续
pause
exit
---------------Oracle服务关闭.bat---------------------------
@echo off
@ ECHO 停止 Oracle 11g 服务
net stop "OracleDBConsoleorcl"
net stop "OracleMTSRecoveryService"
net stop "OracleOraDb11g_home1TNSListener"
net stop "OracleServiceORCL"
@ ECHO 停止完毕 按任意键继续
pause
exit