LDAP or Directory Naming: 15 Second Delay in Tnsping or Remote Oracle Net Connection (Doc ID 2229949.1)

Last updated on MARCH 15, 2017

Applies to:

Oracle Net Services - Version 11.2.0.3 to 11.2.0.4 [Release 11.2]
Information in this document applies to any platform.

Symptoms

Tnsping is very slow to respond.    The OK signal is being returned quickly from the listener. 
The delay is in the resolution of the TNS connect string.

tnsping PROD
25-JAN-2017 12:48:25<==Current time

TNS Ping Utility for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - Production on 25-JAN-2017 12:48:25

Copyright (c) 1997, 2011, Oracle. All rights reserved.

Most of the delay is here.  Waiting for resolution of the service name.  The listener is not at fault here.

Used parameter files:
/u01/app/oracle/admin/dba/sqlnet.ora

Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST =myhost.oracle.com) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = PROD)))
OK (0 msec)

The response from the listener took 0 ms.
The resolution of the TNS alias 'prod' took about 15 seconds.
Wed Jan 25 12:48:42<==Current time



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms