Tnsping Slow Problem Solving

Source: Internet
Author: User

1. Check whether the network ping host or IP is healthy and DNS is set correctly


2. Check firewall settings


3. Check the Listener.log log to see if there is a large number of connections attached.


4. Check if the Listener.log log file is too large, if it is too large to delete the restart after checking


5. View the V$session view to determine if there is a large number of session connections in a short period of time and locate the connected host.

Select Sid,serial#,osuser,username from v$session where status= ' ACTIVE ';


6. Check if there are some dbms_job on the connector, or the task is scheduled to run, sometimes the job execution is too frequent, so that the listener overload situation.


7. Change the short connection to a long connection (if the application is easy to change)


8. Restart the monitor or set up multiple monitors to do monitoring load balancing.


On the server side: Configure multiple listener, each listener to go different ports;
On the client side, configure the Tnsnames.ora file as follows:
Test =
(DESCRIPTION =
(Address_list =
(Load_balance=on)
(Failover=on)
(ADDRESS = (PROTOCOL = TCP) (HOST = 10.10.0.1) (PORT = 1521))
(ADDRESS = (PROTOCOL = TCP) (HOST = 10.10.0.1) (PORT = 1522))
(ADDRESS = (PROTOCOL = TCP) (HOST = 10.10.0.1) (PORT = 1523))
)
(Connect_data =
(service_name = test)
)
)

Tnsping Slow Problem Solving

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.