如何把oracle9i和10g装在同一win平台下面

教程发布:风哥 教程分类:ITPUX技术网 更新日期:2022-02-12 浏览学习:672

如何把oracle9i和10g装在同一win平台下面

因为现在自己学习oracle 10g 新特性 ,就把10g装在虚拟机上,每次打开虚拟机器 启动oracle后
电脑就慢的要死 因为内存有限才1g 分给虚拟机512M,再加上还有正常工作事情要做,来回切换虚拟
机也不方便
所以今天没事 就想把9i和10g 都装在同一环境下,方便自己练习和提高速度
9i是按照先前方法已经好了 一直在用
装在D:\oracle\ora92 目录下
1: 首先停掉 9i的监听和数据库
2: 10g 我就装在F盘F:\oracle\product\10.2.0\db_1 下
10g 在win平台下安装还是挺方便的 一路点next 装好后
按照图形化界面让他自动配置listener 和创建数据库
成功后 需要配置10g 目录listener.ora 文件端口改为 1522
然后 tnsnames.ora 端口也改为1522
3.启动9i listener ,数据库 和10g listener,数据库 一切正常
进入cmd下,可以自由切换
C:\Documents and Settings\Paul Yi>set oracle_sid=pubtest 这是9i实例名
C:\Documents and Settings\Paul Yi>sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.1.0 - Production on 星期五 5月 30 10:11:05 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.

连接到:
Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.8.0 - Production
SQL> exit
从 Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.8.0 - Production 断开
C:\Documents and Settings\Paul Yi>set oracle_sid=ORCL 这是10G 实例名
C:\Documents and Settings\Paul Yi>sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.1.0 - Production on 星期五 5月 30 10:11:17 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.

连接到:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL

本文标签:
网站声明:本文由风哥整理发布,转载请保留此段声明,本站所有内容将不对其使用后果做任何承诺,请读者谨慎使用!
【上一篇】
【下一篇】