虚拟机vmware workstation7.1.4 硬件服务器已开启虚拟机化 虚拟机中系统为solaris10 u8
数据库为 oracle10gr2[@more@]
第一种方法:
通过sqlplus / as sysdba登录显示
mds00afcd01>sqlplus / as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on Mon Aug 6 15:31:53 2012
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
第二种方法:
mds00afcd01>cd $ORACLE_HOME/bin
mds00afcd01>file oracle
oracle: ELF 64-bit LSB executable AMD64 Version 1, dynamically linked, not stripped
第三种方法:
SQL> select address from v$sql where rownum<2;
ADDRESS
----------------
00000003928F8F30
SQL>
第四种方法:
SQL> select * from v$version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for Solaris: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
SQL>
solaris系统已经是64bit环境了,这个我已经确定过了。
第一种和第四种方法显示数据库为32bit,而第二种和第三种显示数据库为64bit
请大家帮忙给出一个能准确确定数据库位数的方案。
自己刚才装了一个32bit ora10的数据库
其结果是8位16进制 ,这说明我上面的数据库是64位的,可是为什么通过sqlplus / as sysdba 看不到64bit提示信息呢?
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/15483376/viewspace-1059100/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/15483376/viewspace-1059100/