A session has been active for more than 20 hours, waiting for the event SQL * Net more data from client

Source: Internet
Author: User

Problem description:

A session has been active for more than 20 hours, waiting for the event SQL * Net more data from client

One session was logged on from eleven o'clock A.M. yesterday (v $ session. login_time), which has been ACTIVE till now, and there is only one SQL _id from v $ active_session_history, which is a merge operation, waiting for the event to be SQL * Net more data from client. There is no network problem. It is accessible now.

If SQL Execution is slow, it should not be the wait event.

 

Solution:

1. Search for the OS process id based on the session id

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

 

2. Create an errorstack for the session and bring it up


Oradebug setospid xx;
Oradebug dump errorstack 3;
Oradebug tracefile_name;

 

Then, perform a specific analysis on tracefile to see if a bit of information can be found.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.