對oracle服務(wù)器端的位數(shù)非常好判斷,只需要連接成功sqlplus就可以很明顯的看到oracle服務(wù)端的位數(shù)。
10年積累的網(wǎng)站制作、做網(wǎng)站經(jīng)驗,可以快速應(yīng)對客戶對網(wǎng)站的新想法和需求。提供各種問題對應(yīng)的解決方案。讓選擇我們的客戶得到更好、更有力的網(wǎng)絡(luò)服務(wù)。我雖然不認識你,你也不認識我。但先網(wǎng)站制作后付款的網(wǎng)站建設(shè)流程,更有商州免費網(wǎng)站建設(shè)讓你可以放心的選擇與我們合作。
客戶端判斷的話:
使用tnsping的方法來查看
這里就是32位的了
主要有以下幾種方法可以用來確定Oracle的位數(shù):
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進制數(shù),則為32位Oracle
SQL select address from v$sql where rownum2;
ADDRESS
--------
578428D8
b.如果輸出為16位16進制數(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 ..
在%ORACLE_HOME%\inventory\ContentsXML目錄下面找到comps.xml文件,例如我目前的測試服務(wù)器上路徑為F:\Win10\app\Mr.Bruce\product\11.2.0\client_1\inventory\ContentsXML
如果PLAT="NT_AMD64"表示安裝的是64位的Oracle 客戶端,如果PLAT="NT_X86"則表示安裝的是32位的Oracle客戶端。
select * from v$version;
或者使用sqlplus命令登陸數(shù)據(jù)庫,如果是64位的,顯示如下:
本文名稱:oracle位數(shù)如何查看,怎么查看oracle多少位
URL標(biāo)題:http://jinyejixie.com/article44/dssssee.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站維護、自適應(yīng)網(wǎng)站、小程序開發(fā)、域名注冊、定制開發(fā)、網(wǎng)站設(shè)計
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)