I am connecting to a 12c database from my client machine using 12c oracle client. Below is my TNS entry.
PLMDEV1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = sesbexa3-scan2.exadata.ericsson.se)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = PLMDEV1)
(UR = A)
)
)
When i am doing the TNSPING from client machine to the database, i am getting the output as below.
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = sesbexa3-scan2.exadata.ericsson.se)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = PLMDEV1) (UR = A)))
OK (20 msec)
OK (0 msec)
OK (0 msec)
OK (10 msec)
OK (40 msec)
OK (0 msec)
OK (0 msec)
OK (0 msec)
OK (20 msec)
OK (0 msec)
Can some one explain me what is this 0ms, 10ms,20ms,40ms means? If it is the over all time taken for client to establish connection with database, why i see different response times? Will this cause any performance issues to my client (while establishing connection to the DB)?
Clear explanation in the docs.
No peformance issues in your posted test, but be aware:
Finally:
TNSPING tests connectivity to a service / listener, not to a server, you can always try to check the listener log or restart it to check if that makes any difference.