LDAP or Directory Naming: 15 Second Delay in Tnsping or Remote Oracle Net Connection
Last updated on MARCH 15, 2017
Applies to:Oracle Net Services - Version 126.96.36.199 to 188.8.131.52 [Release 11.2]
Information in this document applies to any platform.
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.
25-JAN-2017 12:48:25<==Current time
TNS Ping Utility for IBM/AIX RISC System/6000: Version 184.108.40.206.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:
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
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