1. 程式人生 > >Oracle 11g下重現library cache lock等待事件

Oracle 11g下重現library cache lock等待事件

SQL> select sid, event,wait_class, seconds_in_wait
  2    from v$session_wait w
  3   where w.WAIT_CLASS <> 'Idle';
       SID EVENT                                                            WAIT_CLASS
---------- ---------------------------------------------------------------- ----------------
         6 library cache lock                                               Concurrency
       132 library cache pin                                                Concurrency
       191 SQL*Net message to client                                        Network