新聞中心
怎么判斷oracle客戶端,服務(wù)器端的位數(shù)
對(duì)oracle服務(wù)器端的位數(shù)非常好判斷,只需要連接成功sqlplus就可以很明顯的看到oracle服務(wù)端的位數(shù)。
創(chuàng)新互聯(lián)建站是一家專注于網(wǎng)站建設(shè)、成都網(wǎng)站設(shè)計(jì)與策劃設(shè)計(jì),龍勝網(wǎng)站建設(shè)哪家好?創(chuàng)新互聯(lián)建站做網(wǎng)站,專注于網(wǎng)站建設(shè)十多年,網(wǎng)設(shè)計(jì)領(lǐng)域的專業(yè)建站公司;建站業(yè)務(wù)涵蓋:龍勝等地區(qū)。龍勝做網(wǎng)站價(jià)格咨詢:13518219792
客戶端判斷的話:
使用tnsping的方法來查看
這里就是32位的了
怎么查oracle是32位的還是64位
select * from v$version;
或者使用sqlplus命令登陸數(shù)據(jù)庫,如果是64位的,顯示如下:
如何鑒別oracle 64位 32位
主要有以下幾種方法可以用來確定Oracle的位數(shù):
1.通過SQLPLUS登錄即可看出
a.64位登錄時(shí)就有顯示
$ 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進(jìn)制數(shù),則為32位Oracle
SQL select address from v$sql where rownum2;
ADDRESS
--------
578428D8
b.如果輸出為16位16進(jìn)制數(shù),則為64位Oracle
SQL select address from v$sql where rownum2;
ADDRESS
----------------
000000040DFA01E0
3.使用系統(tǒng)命令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 ..
當(dāng)前文章:如何看oracle位數(shù) 如何查看oracle版本及位數(shù)
文章轉(zhuǎn)載:http://fisionsoft.com.cn/article/hpggji.html