RE: Slow connections with 12.2 client

From: <>
Date: Wed, 30 May 2018 13:46:52 +0000
Message-ID: <>

I had posted a thread where a batch job that does a lot of round trips went from running in 3 minutes to running in 8 hours when we switched to a windows 12.2 client. We got that down to 30 minutes by increasing the arraysize. Despite still being much slower (and much slower than running the same report via jdbc) this was well within the SLA so we stopped looking further.

Jay Miller
Sr. Oracle DBA

From: [] On Behalf Of William Sescu Sent: Wednesday, May 30, 2018 12:53 AM
Subject: Re: Slow connections with 12.2 client

Hello Niall,

I observed quite some time ago, that sqlplus connections in combination with LDAP is getting slower and slower with every release. The reason for it, is that Oracle does more and more LDAP searches with every release.

With 10gR2, 1 LDAP search was sufficient, with 11gR2 you have already 2, and with 12cR1 and higher you got 3. For more information, that a look at:


Unfortunately, there is no Patch or workaround that I am aware of, to fix this issue.


On Tue, May 29, 2018 at 6:25 PM, Stefan Knecht <<>> wrote: Not a windows guy at all, but have you tried tracing it?<>

Might show you the syscall it's hanging on which would confirm if it's indeed some sort of lookup that hangs.


On Tue, May 29, 2018 at 9:11 PM, Niall Litchfield <<>> wrote: Hi

Has anybody else observed initial connectivity with the 12.2 windows client to be significantly slower than in 12.1 (or 11.2). My setup has ldap and TNS_ADMIN involved.

ORACLE_HOME: C:\APP\ORACLE\INSTANTCLIENT_12_2 TNS_ADMIN: C:\APP\TNS Extract from an admin level sqlnet trace in 12.1

(12180) [29-MAY-2018 14:53:56:171] nnflgetnlpactx: NLPA context successfuly initialized
(12180) [29-MAY-2018 14:53:56:172] nnflgetnlpactx: exit
(12180) [29-MAY-2018 14:53:56:517] nnfloidinfocache: entry
(12180) [29-MAY-2018 14:53:56:517] nnfloidinfocache: Info: Inserted value DIRECTORY_SERVER_TYPE=OID at index 0 into NLPA_CACHE

and from 12.2

(9712) [29-MAY-2018 14:47:01:777] nnflgetnlpactx: NLPA context successfuly initialized
(9712) [29-MAY-2018 14:47:01:777] nnflgetnlpactx: exit
(9712) [29-MAY-2018 14:47:38:195] nnfloidinfocache: entry
(9712) [29-MAY-2018 14:47:38:195] nnfloidinfocache: Info: Inserted value DIRECTORY_SERVER_TYPE=OID at index 0 into NLPA_CACHE

Note the extra 30 secs between exit from the nnflgetnlpactx function and entry to the OID related function nnfloidinfocache

I have a ticket with Oracle Support but wondered if anyone else has seen this. --
Niall Litchfield
Oracle DBA<>

zztat - The Next-Gen Oracle Performance Monitoring and Reaction Framework! Visit us at<> | _at_zztat_oracle |<> |<>

Received on Wed May 30 2018 - 15:46:52 CEST

Original text of this message