日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

如何确定Oracle是32 Bit(位)的还是64 Bit(位)的?

發布時間:2025/3/19 编程问答 20 豆豆
生活随笔 收集整理的這篇文章主要介紹了 如何确定Oracle是32 Bit(位)的还是64 Bit(位)的? 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
主要有以下幾種方法可以用來確定Oracle的位數:
1.通過SQLPLUS登錄即可看出

a.64位登錄時就有顯示
$ sqlplus "/ as sysdba"SQL*Plus: Release 9.2.0.4.0 - Production on Wed Nov 16 15:27:28 2005Copyright (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 2005Copyright (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 rownum<2;ADDRESS -------- 578428D8

   b.如果輸出為16位16進制數,則為64位Oracle
  
SQL> select address from v$sql where rownum<2;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 Bit(位)的还是64 Bit(位)的?的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。