¿Cómo saber que el cliente Oracle instalado es de 32 bits o 64 bits?


OS: Windows 2008 Server R2

Cliente Oracle: 11.2

Muchas gracias

Author: aiyagaze, 2012-11-02

8 answers

Una forma sencilla de averiguar esto en Windows es ejecutar SQLPlus desde el directorio bin de Oracle homes y luego verificar el Administrador de tareas. Si se trata de una versión de 32 bits de SQLPlus, verá un proceso en la pestaña Procesos que se ve así:

sqlplus.exe *32

Si es de 64 bits, el proceso se verá así:

sqlplus.exe
 65
Author: JoshL,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2013-07-23 22:34:47

Vaya a la carpeta %ORACLE_HOME%\inventory\ContentsXML y abra comps.xml file

Busque en ~segunda pantalla.
Si las líneas siguientes tienen

  • PLAT="NT_AMD64" entonces este Oracle Home es de 64 bits.
  • PLAT="NT_X86" entonces-32 bit.

    Es posible que tenga instalados Oracle Homes de 32 y 64 bits.
  •  32
    Author: Tagar,
    Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
    2014-10-17 20:14:59

    Una cosa que fue súper fácil y funcionó bien para mí fue hacer un TNSPing desde un prompt de cmd:

    TNS Ping Utility for 32-bit Windows: Version 11.2.0.3.0 - Production on 13-MAR-2015 16:35:32
    
     8
    Author: Mark Bowytz,
    Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
    2015-03-13 20:39:04

    En Linux:

    1) encuentra dónde se encuentra sqlplus,

    [oracle@LINUX db_1]$ `which sqlplus`
    /app/oracle/product/11.2.0/db_1/bin/sqlplus
    

    2) Determinar el tipo de archivo,

    [oracle @ LINUX db_1]$ file /app/oracle/product/11.2.0/db_1/bin/sqlplus

    /app/oracle/product/11.2.0/db_1/bin/sqlplus: ejecutable LSB de 64 bits ELF, x86-64, versión 1 (SYSV), vinculado dinámicamente (utiliza libs compartidas). Para GNU / Linux 2.6.18, no despojado.

     5
    Author: user3068602,
    Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
    2013-12-05 04:35:40

    Ninguno de los enlaces anteriores sobre lib y la carpeta lib32 funcionó para mí con Oracle Client 11.2.0, pero encontré esto en la comunidad OTN :

    En cuanto a la inspección de una instalación de cliente para tratar de decir si es de 32 bits o 64 bits, puede consultar el registro, se ubicará una casa de 32 bits en HKLM>Software>Wow6432Node > Oracle, mientras que un hogar de 64 bits estará en HKLM>Software > Oracle.

     4
    Author: shadi,
    Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
    2014-04-17 02:33:21

    Lo siguiente, tomado de aquí, no fue mencionado aquí:

    Si el Cliente Oracle es de 32 bits, contendrá una carpeta "lib"; pero si es un cliente Oracle de 64 bits tendrá ambas carpetas "lib" y "lib32".

    También, a partir de Oracle 11.2.0.1, la versión de cliente para 64 bits y el cliente de Oracle para 32 bits se envían por separado, y hay un directorio OR ORACLE_HOME/lib64.

    OR ORACLE_HOME/ lib / = = > 32 bit OR ORACLE_HOME / lib64 = = > 64 bit

    O

    OR ORACLE_HOME/ lib / = = > 64 bit OR ORACLE_HOME / lib32 = = > 32 bit

     1
    Author: Veverke,
    Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
    2015-07-28 14:25:37

    En el sistema de 64 bits:

    Controlador de 32 bits: C:\Windows\SysWOW64\odbcad32.exe

    Controlador de 64 bits: C:\Windows\System32\odbcad32.exe

    Vaya a la pestaña Controladores
    La versión se muestra allí también.

     0
    Author: Ivan Chau,
    Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
    2016-10-07 03:02:22

    Para el cliente de Windows Oracle 12.1, mirando la salida del comando TNSPING parece funcionar:

    Con 32 bits instalados en sistemas operativos de 64 bits:

    C: > tnsping

    Utilidad TNS Ping para Windows de 32 bits: Versión 12.1.0.2.0-Producción el 02-FEB-2 016 15:44:37

    Copyright (c) 1997, 2014, Oracle. Todos los derechos reservados.

    Con 64 bits instalado en el sistema operativo de 64 bits:

    D: > tnsping

    Utilidad de ping TNS para 64 bits Windows: Versión 12.1.0.1.0-Producción el 02-FEB-2 016 16:00:23

    Copyright (c) 1997, 2013, Oracle. Todos los derechos reservados.

     -1
    Author: Troy,
    Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
    2016-02-02 22:02:27