快上网专注成都网站设计 成都网站制作 成都网站建设
成都网站建设公司服务热线:028-86922220

网站建设知识

十年网站开发经验 + 多家企业客户 + 靠谱的建站团队

量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决

怎么查oracle位数,怎么查看oracle

如何查看安装的Oracle是64位还是32位

方法一:使用sqlplus

创新互联公司-专业网站定制、快速模板网站建设、高性价比天柱网站开发、企业建站全套包干低至880元,成熟完善的模板库,直接使用。一站式天柱网站制作公司更省心,省钱,快速模板网站建设找我们,业务覆盖天柱地区。费用合理售后完善,十多年实体公司更值得信赖。

64位:

[Oracle@db2 ~]$ sqlplus / as sysdba;

SQL*Plus: Release 10.2.0.5.0 - Productionon Sun Sep 25 08:57:22 2011

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

Connected to:

Oracle Database 10g Enterprise EditionRelease 10.2.0.5.0 - 64bit Production

With the Partitioning, OLAP, Data Miningand Real Application Testing options

32位:

[oracle@rac1 ~]$ export ORACLE_SID=orcl1

[oracle@rac1 ~]$ sqlplus / as sysdba

SQL*Plus: Release 10.2.0.4.0 - Production on Sat Jun 14 16:24:38 2014

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, Real Application Clusters, OLAP, Data Mining

and Real Application Testing options

如何判断oracle的版本和位数

一、

打开orcale安装目录,如:D:\app\SSG\product\11.2.0\dbhome_1

11.2.0这个目录名就是版本

二、

主要有以下几种方法可以用来确定Oracle的位数:

1.通过SQLPLUS登录即可看出

a.64位登录时就有显示

$ sqlplus "/ as sysdba"

SQL*Plus: Release 9.2.0.4.0 - Production on Wed Nov 16 15:27:28 2005

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

Connected to:

Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production

With the Partitioning option

JServer Release 9.2.0.4.0 - Production

b.32位的无显示

[oracle@jumper oracle]$ sqlplus "/ as sysdba"

SQL*Plus: Release 9.2.0.4.0 - Production on Wed Nov 16 15:19:03 2005

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

Connected to:

Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production

With the Partitioning option

JServer Release 9.2.0.4.0 - Production

c.从v$version获取

SQL select * from v$version;

BANNER

------------------------------------------------------------

Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production

PL/SQL Release 9.2.0.6.0 - Production

CORE 9.2.0.6.0 Production

TNS for 32-bit Windows: Version 9.2.0.6.0 - Production

NLSRTL Version 9.2.0.6.0 - Production

2.从v$sql视图获取

a.如果输出为8位16进制数,则为32位Oracle

SQL select address from v$sql where rownum2;

ADDRESS

--------

578428D8

b.如果输出为16位16进制数,则为64位Oracle

SQL select address from v$sql where rownum2;

ADDRESS

----------------

000000040DFA01E0

3.使用系统命令file

a.如果输出带有32-bit字样为32位Oracle

[oracle@jumper oracle]$ file $ORACLE_HOME/bin/oracle

/opt/oracle/product/9.2.0/bin/oracle: setuid setgid ELF 32-bit LSB executable, Intel 80386..

b.如果输出带有64-bit字样为64位Oracle

$ file $ORACLE_HOME/bin/oracle

/opt/oracle/product/9.2.0/bin/oracle: ELF 64-bit MSB executable SPARCV9 Version 1..

怎么查oracle是32位的还是64位

select * from v$version;

或者使用sqlplus命令登陆数据库,如果是64位的,显示如下:

查看Oracle 是32位还是64位的方法

方法一:使用sqlplus64位:[Oracle@qs-wg-db2 ~]$ sqlplus / as sysdba; SQL*Plus: Release 10.2.0.5.0 - Productionon Sun Sep 25 08:57:22 2011 Copyright (c) 1982, 2010, Oracle. All Rights Reserved. Connected to:Oracle Database 10g Enterprise EditionRelease 10.2.0.5.0 - 64bit ProductionWith the Partitioning, OLAP, Data Miningand Real Application Testing options SQL 如果是64位,用sqlplus 连上之后会显示具体的位数信息,32位则不会显示。 32位:C:\Users\Administrator.DavidDaisqlplus/ as sysdba; SQL*Plus: Release 11.2.0.1.0 Production onSun Sep 25 08:55:48 2011 Copyright (c) 1982, 2010, Oracle. All rights reserved. Connected to:Oracle Database 11g Enterprise EditionRelease 11.2.0.1.0 - ProductionWith the Partitioning, OLAP, Data Miningand Real Application Testing options 方法二: 查看v$version 视图32位:SQL select * from v$version; BANNER--------------------------------------------------------------------------Oracle Database 11g Enterprise EditionRelease 11.2.0.1.0 - ProductionPL/SQL Release 11.2.0.1.0 - ProductionCORE 11.2.0.1.0 ProductionTNS for 32-bit Windows: Version 11.2.0.1.0- ProductionNLSRTL Version 11.2.0.1.0 - Production 64位:SQL select * from v$version; BANNER----------------------------------------------------------------Oracle Database 10g Enterprise EditionRelease 10.2.0.5.0 - 64biPL/SQL Release 10.2.0.5.0 - ProductionCORE 10.2.0.5.0 ProductionTNS for Linux: Version 10.2.0.5.0 -ProductionNLSRTL Version 10.2.0.5.0 – Production 和第一种方法一样,64位会显示具体的位数信息,32位不会显示。

怎么判断oracle客户端,服务器端的位数

对oracle服务器端的位数非常好判断,只需要连接成功sqlplus就可以很明显的看到oracle服务端的位数。

客户端判断的话:

使用tnsping的方法来查看

这里就是32位的了


网页标题:怎么查oracle位数,怎么查看oracle
网站链接:http://6mz.cn/article/hchjds.html

其他资讯