How canI check the architecture of the installed Oracle software?

Is there a way to check whether I have 32bit or 64bit version of Oracle software from within Oracle?
I want to script in a check to see if the current Oracle Home where this database is running is either 32-bit or 64-bit. It is not good enough to check OS architecture, as some systems I manage have 64-bit OS but a combination of 32-bit and 64-bit Oracle Homes.
I looked at v$parameter and could not find anything directly. SELECT platform_name FROM v$database does show architecture, but this only works on 10g and possibly 9i. On 8i, I cannot find any similar columns.
select * from v$version also shows if a system is 64-bit or not (32-bit shows no string in banner to indicate 32-bit)
But both the above methods are a bit vague: I do not know if they are simply greping the architecture from the OS or if they are examing the oracle binary?

finite9 wrote:
Is there a way to check whether I have 32bit or 64bit version of Oracle software from within Oracle?Got to $ORACLE_HOME/bin and run
file oracle
Onto the database, check v$session, if saddr columns is raw(4), then db is 32bit (4*8), if it is raw(8), db is 64bits (8*8).
Nicolas.

Similar Messages

Maybe you are looking for

  • How do I get rid of other accounts linked to my iCloud?

    I just purchased a brand new iPhone 5S and I am currently working to restore the settings and info that was backed up in my iCloud from my iPhone 5. When I logged into my primary account (I've had maybe one or two other Apple accounts due to forgetti

  • Portal via browser 'Service temporarily unavailable' URGENT!

    Hi I've installed portal and its running OK, working through the tutorials when i can find the sample data. but now I can't connect to pls/portal30, or pls/portal30_sso, or pls/admin_/. i think its to do with the gateway settings or mod_plsql, but I

  • Got a new iPhone!

    I got a new iPhone and I understand that I can import data from MS Outlook to my iPhone, and that I can export data (I suppose through sync) from my PDA to Outlook.  I am running Windows Vista, and I have the Palm VIIx.  I am connected to my computer

  • Form errors. How to understand and fix them, any help?

    Hello, I have been getting multiple errors in a form I created, I copied and pasted items from another form and change the content. Here is what I am seeing, anyone have suggestions on how I can fix this?

  • Patch Level Info

    Hi All, Currently we are on SPS 14 (Patch #7) for Java and Patch #3 for KMC. How to look for this info from portal? Now we are planning to apply SP stack 16. This will push up the current patch levels. Is there any way we can find the patch level inf