Can tnsping prove that the Oracle database is available?

Source: Internet
Author: User

The Listener is an Oracle server-based network service that listens to client connection requests to the database server side. Oracle officially defines it as:A process, listens for incoming client connection requests and manages network traffic to the Datab Ase.?
? The local service name is one of the Oracle client network configurations, plus the Oracle name server (Oracle Names server).

?? The client can interact with the database server by listening, if we test with tnsping and return to normal, does that mean that the database is available? The answer is in the negative.


1. The following monitoring is normal boot:

? ?


2. Close the database at this time:



3. Execute the tnsping from the client, the display is connected properly.



As we can see, tnsping just verifies that the path between the client and the database server's listening port is good, but does not mean that the database service is available because the client and Oracle server interactions are performed through the Oracle Server server process. The private memory space is the PGA, so sometimes we do operations detection, tnsping cannot represent the Oracle database available, you can use Sqlplus to actually execute a statement (select Sysdate from dual).

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Can tnsping prove that the Oracle database is available?

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.