1.进入sqlplus
sqlpus / as sysdba

linux下查看安装的oracle是32位的还是64位_第1张图片

2.查看
select * from v$version;
博主查看的主机安装的就是64bit的oracle
linux下查看安装的oracle是32位的还是64位_第2张图片


PS:64位会显示具体的位数信息,32位不会显示。

32位:

SQL> select * from v$version;

BANNER


Oracle Database 11g Enterprise EditionRelease 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for 32-bit Windows: Version 11.2.0.1.0- Production
NLSRTL Version 11.2.0.1.0 - Production


64位:

SQL> select * from v$version;

BANNER


Oracle Database 10g Enterprise EditionRelease 10.2.0.5.0 - 64bi
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