在Windows平台下修改Oracle執行個體不隨服務啟動__Oracle

來源:互聯網
上載者:User

一、在Windows平台下修改Oracle執行個體不隨服務啟動:

1、修改註冊表如下索引值實現:
HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\KEY_OraDb10g_home1


2、在右邊找到找到 ORA_WWL_AUTOSTART項,預設這個值為TRUE,隨服務啟動而啟動,我們將其改為FALSE,再起服務的時候將不再會啟動資料庫


測試:

啟動Oracle服務
C:\>net start OracleServiceWWL
OracleServiceWWL 服務正在啟動 .
OracleServiceWWL 服務已經啟動成功。

我們可以看到這個時候資料庫執行個體是沒有隨服務的啟動而自啟動
C:\>sqlplus / as sysdba

SQL*Plus: Release 10.2.0.4.0 - Production on Mon Dec 19 21:26:34 2011

Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.

Connected to an idle instance.

手工執行startup命令來啟動資料庫執行個體
SQL> startup
ORACLE instance started.

Total System Global Area 1610612736 bytes
Fixed Size                  2066080 bytes
Variable Size             184551776 bytes
Database Buffers         1409286144 bytes
Redo Buffers               14708736 bytes
Database mounted.
Database opened.
SQL>

檢查下執行個體是否真的起來了。
SQL> select instance_name,status from v$instance;

INSTANCE_NAME    STATUS
---------------- ------------
wwl              OPEN

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.