查看會話、鎖、等待事件

1. 查看活動會話信息 SELECT * FROM V$SESSION WHERE USERNAME IS NOT NULL AND STATUS = 'ACTIVE' ORDER BY LOGON_TIME, SID; 注:status用來判斷會話狀態        Active:正執行sql語句(waiting for/using a resource)sql        In
相關文章
相關標籤/搜索