Tuesday, 26 June 2007

How do I find my SID?

The SID is the Oracle System ID. It is used to uniquely identify a database. In RAC, all instances belonging to the same database must have unique SID's.



In Windows:


set ORACLE_SID=orcl



Unix/ Linux:


export ORACLE_SID=orcl





SELECT enabled, open_time, status, INSTANCE
FROM v$thread;

No comments: