一個session已經ACTIVE20多小時,等待事件SQL*Net more data from client

來源:互聯網
上載者:User

問題描述:

一個session已經ACTIVE20多小時,等待事件SQL*Net more data from client

有一人session,從昨天上午11點多登陸(v$session.login_time),到現在一直是ACTIVE,而且從v$active_session_history只有一個sql_id,是一個merge操作,等待事件是SQL*Net more data from client。網路沒有問題啊,現在訪問的通。

如果是SQL執行的慢,不應該是這個等待事件吧。

 

解決思路:

1.根據session id 尋找os 進程id

select pid from v$process where addr in (select paddr fromv$session‘);

 

2.對該session  做一個errorstack 並上來


oradebug setospid  xx;
oradebug dump errorstack 3;
oradebug tracefile_name;

 

然後具體分析下tracefile ,看能否發現一點資訊

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.