Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Find out thread in RAC session
Hi Vladmir,
You could find it from - select instance_number from v$instance;
You can also query gv$instance to find all sessions connected to both the instances. This query can be run from any instance and it will display all the sessions connected to all the instances. There's a thread_id column which will provide the instance number. For any of the gv$ views to work, you have to enable parallel query (parallel_min_servers > 0).
Regards,
Ashok
-----Original Message-----
Sent: Wednesday, March 26, 2003 4:29 AM
To: Multiple recipients of list ORACLE-L
Good day to everyone
How do I find under which thread is my current session running in 9i RAC?
Vladimir Barac
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Balakrishnan, Ashok - VSCM
INET: Balakrishnan.Ashok_at_vectorscm.com
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Mar 26 2003 - 12:19:14 CST
![]() |
![]() |