使用SRVCTL啟動例項與使用sqlplus啟動例項的區別
The difference between using srvctl vs using sqlplus for start/stop one or more database nodes [ID 753516.1] | |||||
| |||||
修改時間 29-JUL-2010 型別 HOWTO 狀態 ARCHIVED |
In this Document
Applies to:
Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 11.1.0.6 - Release: 10.1 to 11.1Information in this document applies to any platform.
Goal
We have had some instances where it seemed that starting rac databases through sqlplus caused performance issues (high load on database server ).Restarting the nodes using srvctl seemed to resolve the performance issue.
"Is there any difference between using srvctl vs using sqlplus for starting or stopping one or more database nodes."
Solution
There are some differences between the use of SQLPLUS and SRVCTL utilities.
- Both should result in the instance startup, but Oracle always recommend the use of the SRVCTL due to the fact that the SRVCTL does more, i.e. SRVCTL will perform. a dependency analysis and will inform. about cluster related problem if they exist, in a better way than the SQLPLUS which may just say that the instance is not starting. The SRVCTL command will try to start dependent resources (like the vip/ons/listeners) in case they are not running.
- The SRVCTL utility always do some kind of pre-start of the instances such as updating the
OCR information instead of waiting for the check script. of the instance resource to detect this
instance startup and update the OCR.
- With SRVCTL, the root user OS setup is used since inherited from the crsd.bin that will start the instances as oracle user. With SQLPLUS, the oracle user OS setup is used. Having different user setups for root or oracle will make that the performance can be different (fragmented sga or not, another 'solaris' project setup, ...) Check , .
The common part however is that SRVCTL is using SQLPLUS to start/stop the instances.
The SRVCTL tool manages configuration information that is used by several other Oracle tools.
For example, Enterprise Manager uses the configuration information that SRVCTL generates to discover
and monitor nodes in your cluster.
Note that the 'srvctl start database/instance' command will not start all enabled and non-running services that have the listed instances either as preferred or available instances in 10g.
Check - After Srvctl Start Database, Database Services Will Not Start Up Automatically
For further details about the synthax of the SRVCTL command, please refer to the following documentation:
Oracle� Database Oracle Clusterware and Oracle Real Application Clusters Administration and
Deployment Guide
10g Release 2 (10.2)
Part Number B14197-01
大家要多多使用SRVCTL工具管理資料庫例項!
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23135684/viewspace-712764/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 2 Day DBA-管理Oracle例項-關閉和啟動Oracle例項-使用OEMDC關閉和啟動Oracle例項Oracle
- 2 Day DBA-管理Oracle例項-關於例項的啟動和關閉-關於例項啟動Oracle
- 啟動CRS單例項、設定自動啟動單例
- 3.1.5.9 啟動遠端例項
- 啟動ASM 例項報錯ASM
- 自動重新啟動oracle例項 for windowsOracleWindows
- Oracle單例項+ASM啟動與關閉Oracle單例ASM
- Oracle例項的啟動和關閉Oracle
- 3.1.5.5 啟動例項到限制模式模式
- 配置單例項自動重啟單例
- 啟動oracle例項最少引數Oracle
- oracle多個例項啟動方法Oracle
- oracle啟動例項時使用引數檔案的順序Oracle
- windows下啟動服務時不啟動oracle例項WindowsOracle
- ASM CRS 例項啟動和關閉ASM
- App啟動頁設計例項和技巧,啟動即讓人心動APP
- Oracle之 服務啟動&停止指令碼與開機自啟動(單例項)Oracle指令碼單例
- 建立自啟動檔案指令碼的例項指令碼
- Oracle Restart啟動資料庫例項故障一例OracleREST資料庫
- 3.1.5.4 啟動例項並mount 資料庫資料庫
- 3.1.5.1 關於啟動資料庫例項資料庫
- oracle例項啟動異常慢案例一Oracle
- mysqld_multi啟動多個mysql例項MySql
- oracle 例項啟動和關閉解讀Oracle
- 2 Day DBA-管理Oracle例項-關於例項的啟動和關閉-關於例項關閉Oracle
- 2 Day DBA-管理Oracle例項-關於例項的啟動和關閉-管理啟動和關閉許可權Oracle
- Oracle11g RAC在例項關閉後自動在啟動例項上歸檔Oracle
- 例項管理及資料庫的啟動關閉資料庫
- oracle 10203啟動例項報警Oracle
- dubbo啟動報錯,反射例項化問題反射
- Oracle資料庫例項啟動步驟分析Oracle資料庫
- mysql例項停止、啟動、配置遠端訪問MySql
- Windows下Oracle 11gR2例項啟動WindowsOracle
- Window中Oracle服務啟動時並不啟動例項的兩種方法Oracle
- 3.1.1.4 使用 SRVCTL 啟動資料庫資料庫
- 【轉】新建例項開啟已有的資料庫 — 資料庫與例項的區分測試資料庫
- linux自動automatic啟動停止多個oracle例項LinuxOracle
- 如何在jboss啟動時就建立該server的例項Server