Process inactive sessions

Source: Internet
Author: User

Session 1 in inactive state. Session status description: You can view the session status in the status column of the v $ session view.

SQL code STATUS VARCHAR2 (8) Status of the session: ACTIVE-Session currently executing SQL INACTIVE KILLED-Session marked to be killed CACHED-Session temporarily cached for use by Oracle * XA SNIPED-Session inactive, waiting on the client

 

2. Set the expire_time parameter 2.2 in the sqlnet. ora file for inactive processing. Set the idle_time parameter of the user profile to enable idle_time. Enable the RESOURCE_LIMIT parameter first. The default value is False.
SQL code show parameter resource; ALTER SYSTEM SET RESOURCE_LIMIT = TRUE SCOPE = BOTH; select * from dba_profiles; select username, profile from dba_users where username = 'cqcproduct '; alter profile default limit idle_time 10; -- restart oracle

 


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.