Collect Diagnostic Data during a database hang.
The following set of diagnostic data collection routines must be run when database is not responding to TNS connection request and queries to views like v$session, etc hang. The symptoms of this hang are Unable to connect using tnsnames to local instance. E.g. if ssh on node 01A, then cannot sqlplus to instance hosted on that server. E.g. sqlplus username/password@connectstring Unable to connect using tnsname .e.g sqlplus username/password@connectstring_active Bequeath connections are successful. E.g. sqlplus / as sysdba Querying certain V$ views causes the session to hang. Diagnostic Data set 1: SQL> set lines 250 pages 1000 SQL> spool xle_xkclfx.out SQL> select * from x$le; SQL> select * from x$kclfx; SQL> exec dbms_lock.sleep(60); SQL> select * from x$le; SQL> select * from x$kclfx; SQL> exec dbms_lock.sleep(60); SQL> select * from x$le; SQL> select ...