檢視安裝的ORACLE是32位還是64位
方法一:使用sqlplus
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
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
方法二:檢視v$version檢視
32位:
SQL> select * from v$version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod --此處提示安裝的資料庫是32位
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for Linux: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
64位:
SQL> select address from v$sql where rownum<2;
ADDRESS
--------
30AE76F0
32位:
SQL> select * from v$version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod --此處提示安裝的資料庫是32位
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for Linux: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
64位:
SQL> select * from v$version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise EditionRelease 10.2.0.5.0 - 64bi --此處提示安裝的資料庫是64位
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
TNS for Linux: Version 10.2.0.5.0 -Production
NLSRTL Version 10.2.0.5.0 – Production
方法三:檢視v$sql 檢視
32位:輸出為8位16進位制BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise EditionRelease 10.2.0.5.0 - 64bi --此處提示安裝的資料庫是64位
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
TNS for Linux: Version 10.2.0.5.0 -Production
NLSRTL Version 10.2.0.5.0 – Production
方法三:檢視v$sql 檢視
SQL> select address from v$sql where rownum<2;
ADDRESS
--------
30AE76F0
64位:輸出為16位16進位制數
SQL> select address from v$sql whererownum<2;
ADDRESS
----------------
0000000196FDF7D8
SQL> select address from v$sql whererownum<2;
ADDRESS
----------------
0000000196FDF7D8
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29634949/viewspace-1183092/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 檢視Linux是ubuntu還是centosLinuxUbuntuCentOS
- 如何檢視python是32位還是64位Python
- 檢視windows server 2003 是32位還是64位WindowsServer
- 檢視當前作業系統是ubuntu還是centos作業系統UbuntuCentOS
- 怎樣檢視python是64位還是32位Python
- 檢視oracle被鎖的表是誰鎖的Oracle
- 檢視已經建立的svn庫格式是 FSFS 還是 VDFS 的?
- win10如何檢視電腦是32位還是64位_win10是32位還是64位怎麼檢視Win10
- WIN10怎麼檢視磁碟是MBR還是GPT win10磁碟初始化mbr還是gpt如何檢視Win10GPT
- 【日常分享】Linux系統檢視是32位還是64位的方法Linux
- Linux中如何檢視系統是32位還是64位?Linux
- win10系統如何檢視網路卡是千兆還是百兆Win10
- windows怎麼檢視是否是固態硬碟還是機械硬碟Windows硬碟
- WIN10系統如何檢視網路卡是100m還是1000m WIN10網路卡是100m還是1000m怎麼檢視Win10
- 【TUNE_ORACLE】檢視Oracle的壞塊在空閒空間中還是在已用空間中的SQL參考OracleSQL
- 電腦是組裝的好還是原裝的好?
- mac檢視安裝的jdkMacJDK
- 自動駕駛,是“平視”還是“俯視”?自動駕駛
- shell檢測檔案是windows格式還是unixWindows
- 檢視 yum 安裝的 PHP 位置PHP
- 如何檢查你的計算機使用的是 UEFI 還是 BIOS計算機iOS
- Linux系統檢視伺服器是arm架構還是x86架構Linux伺服器架構
- Win10如何檢視安裝日期 檢視win10安裝日期的步驟Win10
- 檢視是什麼玩意
- MySql 什麼是檢視MySql
- ApkAnalyser-APP開發框架分析器,檢視APP是用Flutter還是ReactNative或是WeexAPKAPP框架FlutterReact
- 面試官:伺服器安裝JDK還是JRE?可以只安裝JRE嗎?面試伺服器JDK
- 如何檢視是否安裝postgresqlSQL
- 檢視oracle資料庫中,哪些表的欄位是null值比較多Oracle資料庫Null
- Linux中檢視yum安裝的jdk位置LinuxJDK
- Linux如何檢視JDK的安裝路徑LinuxJDK
- linux下檢視java的安裝路徑LinuxJava
- 怎樣檢視mysql的安裝目錄MySql
- 怎麼檢視mysql的安裝路徑MySql
- Oracle普通檢視和物化檢視的區別Oracle
- 11、Oracle中的檢視Oracle
- navicat檢視mysql安裝位置命令MySql
- Linux檢視已安裝軟體Linux
- Oracle併購 為SAP還是為自己?(轉)Oracle