在Windows平台上启动多个Instance比在UNIX环境下要繁琐一点,需要用到ORADIM来创建新的ORACLE_SID.

 

现在假设在一台Windows PC上装了一个名字为ORCL的Oracle数据库,默认情况下启动的都是这个对应于这个ORACLE_SID的instance, 现在如果我需要在这台机器上启动另外一个instance (假设名字叫ORCL2),该怎么办呢?

 

首先先创建另外一个参数文件initorcl2.ora用来启动orcl2这个instance, 内容如下,

db_name=orcl2

 

先看看如果不用ORADIM会怎么样,

 

C:\Documents and Settings\szuser>set ORACLE_SID=orcl
 
C:\Documents and Settings\szuser>sqlplus /nolog
 
SQL*Plus: Release 10.2.0.4.0 - Production on Mon Jan 18 11:33:52 2010
 
Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
 
SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup
ORACLE instance started.
 
Total System Global Area  612368384 bytes
Fixed Size                  1298208 bytes
Variable Size             230686944 bytes
Database Buffers          373293056 bytes
Redo Buffers                7090176 bytes
Database mounted.
Database opened.
SQL>

相关文章:

  • 2021-08-14
  • 2022-12-23
  • 2021-12-19
  • 2022-12-23
  • 2022-12-23
  • 2021-08-19
  • 2021-07-16
  • 2022-12-23
猜你喜欢
  • 2021-07-01
  • 2020-12-23
  • 2021-11-08
  • 2021-12-30
  • 2021-11-03
  • 2021-10-12
  • 2021-06-09
相关资源
相似解决方案