Find database bit version (64bit, 32bit)
July 6, 2016 Leave a comment
There are several ways to determine that. But let’s discuss just one version for Linux, one for Windows and one for Database. 🙂
If OS is Linux you can check it by file command.
file $ORACLE_HOME/bin/oracle
/u01/app/oracle/product/12.1.0.2/dbhome_1/bin/oracle: setuid setgid ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
So my oracle is 64bit.
If it is windows:
Go to %ORACLE_HOME%\inventory\ContentsXML
folder and open comps.xml
file
Look for <DEP_LIST>
If following lines have
PLAT="NT_AMD64"
then this Oracle Home is 64 bit.PLAT="NT_X86"
then – 32 bit.
The above commands was from OSs itself. You can get this information from database also.
select metadata
from sys.kopm$ ;0000006001240F050B0C030C0C0504050D0609070805050505050F0
5050505050A050505050504050607080823472347081123081141B047…
If you see B047 then software is 64bit and if there is B023 then 32bit.