Check whether Oracle32-bit or 64-bit (x86orx64)

Source: Internet
Author: User

Check whether Oracle32-bit or 64-bit (x86orx64)

Method 1: Use sqlplus

### 64-bit: [oracle @ db01 ~] $ Sqlplus/as sysdba SQL * Plus: Release 11.2.0.3.0 Production on Fri Oct 318: 44: 05 2014 Copyright (c) 1982,201 1, Oracle. all rights reserved. connected to: Oracle Database 11g Enterprise Edition Release11.2.0.3.0-64bit ProductionWith the Partitioning, OLAP, Data Mining and RealApplication Testing options SQL> if it is 64-bit, after sqlplus is connected, the specific number of digits is displayed, and 32 bits are not displayed. ### 32-bit: [oracle @ db01 ~] $ Sqlplus/as sysdba; SQL * Plus: Release 11.2.0.1.0 Production onSun Sep 2508: 55: 48 2011 Copyright (c) 1982,201 0, Oracle. all rightsreserved. connected to: Oracle Database 11g Enterprise EditionRelease11.2.0.1.0-ProductionWith the Partitioning, OLAP, Data Miningand RealApplication Testing options

Method 2: view the v $ version view

### 32-bit: SQL> select * from v $ version; BANNER implements Oracle Database 11g Enterprise EditionRelease11.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-bit: SQL> select * from v $ version; BANNER indexing Oracle Database 11g Enterprise Edition Release11.2.0.3.0-64bit ProductionPL/SQL Release 11.2.0.3.0-ProductionCORE 11.2.0.3.0 ProductionTNS for Linux: Version 11.2.0.3.0-ProductionNLSRTL Version 11.2.0.3.0-Production
Like the first method, 64-bit displays the specific number of digits, and 32-bit does not.

Method 3: view the v $ SQL View

### 32-bit: 8-bit hexadecimal output SQL> select address from v $ SQL whererownum <2; ADDRESS--------B50ACDAE ### 64-bit: output as 16-bit hexadecimal SQL> select address from v $ SQL whererownum <2; ADDRESS----------------00000000C18D79C8

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.