Return-Path: <oracle-l-bounce@freelists.org>
X-Original-To: oracle-l@orafaq.com
Delivered-To: oracle-l@orafaq.com
Received: from turing.freelists.org (turing.freelists.org [206.53.239.180])
 by malta2546.startdedicated.com (Postfix) with ESMTPS id A8C961002EC89A
 for <oracle-l@orafaq.com>; Wed, 30 May 2018 06:55:17 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 4CF11255DF;
 Wed, 30 May 2018 00:55:16 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1527656116;
 bh=SxqClR88uLImMHUs++7iyQC0CRYvS8cBRPsgH2hGrnk=;
 h=In-Reply-To:References:From:Date:Subject:To:Reply-To:List-help:
	 List-unsubscribe:List-Id:List-subscribe:List-owner:List-post:
	 List-archive;
 b=LEDPoWtUvDs2iGa9h5lyMU79k2fEtYKDsYraRhO+bguVGC8WjsMunQC4kZRXF/sHc
	 DIVBaBA14r41ZdbENWg6sPG5qYAc31XuOEIhJ5SvxyANwDOSk9GlhMyvx/x3nqhvEb
	 om6sFnihNwXg4ilmLGX/ojBEzr+MU2GlX2DmD0us=
X-Virus-Scanned: Debian amavisd-new at turing.freelists.org
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id WSrs4OgW3hGK; Wed, 30 May 2018 00:55:16 -0400 (EDT)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 5E4BC25585;
 Wed, 30 May 2018 00:54:58 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1527656110;
 bh=SxqClR88uLImMHUs++7iyQC0CRYvS8cBRPsgH2hGrnk=;
 h=In-Reply-To:References:From:Date:Subject:To:Reply-To:List-help:
	 List-unsubscribe:List-Id:List-subscribe:List-owner:List-post:
	 List-archive;
 b=eszMalDzLhVplk8qAQXwrBe6leKZm5pWXP4wzrdAKlfI0/EBMiyzVJ9IJExu0XjVi
	 fJPv4VkOcGSbYqqPVnBDMTJ9VOn9oRyj5Csiw3V9q8xokDWUmFrPzH7TY0vSNjYyvZ
	 1u6jJDsxqv/60WXK65cIjU9nB2xNYErzkPYr7Fvs=
Received: with ECARTIS (v1.0.0; list oracle-l); Wed, 30 May 2018 00:53:36 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 8356C25577
 for <oracle-l@freelists.org>; Wed, 30 May 2018 00:53:36 -0400 (EDT)
Authentication-Results: turing.freelists.org; dkim=pass
 reason="2048-bit key; unprotected key"
 header.d=gmail.com header.i=@gmail.com header.b=SsUZQQA4;
 dkim-adsp=pass; dkim-atps=neutral
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id XVYPr4tDOPl4 for <oracle-l@freelists.org>;
 Wed, 30 May 2018 00:53:36 -0400 (EDT)
Received: from mail-ot0-f174.google.com (mail-ot0-f174.google.com [74.125.82.174])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 48F9525576
 for <oracle-l@freelists.org>; Wed, 30 May 2018 00:53:35 -0400 (EDT)
Received: by mail-ot0-f174.google.com with SMTP id 15-v6so19645315otn.12
        for <oracle-l@freelists.org>; Tue, 29 May 2018 21:53:35 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:in-reply-to:references:from:date
         :message-id:subject:to;
        bh=6FsGNfGCBRiO0R6SkxPMENeNTdUr1Y0ZvO6UcZbc54Y=;
        b=Tzb7VbyS+5mE+gzbsKnofar3B1dv12rQy8oD9hnSShZOgKVHc/OCV6wc/W4ayc8Qiy
         hZtCkocFDNi+1t1lOLv3RET6j8S/nX3g1ETrVzzg1lGCxSqJ405Kn/WipJq6Bllr1nOv
         jsggD6yzcWXP6TsOG29v6fyZQ2BV1RVQUvtgn51mxbpVZF5KxqwMMXhiX6jcvu3LJBP2
         nxeDXDNwL3/twvbTwQd+JY9Xce5FT0uPEsLyRvlN45lBjQXhqx0n8dt9ezOHFtUFIErw
         LdgRxI05WrtGl5+CaH9QeGM+3802Zdp31LrhihmP17jll7kz+KH04x+7N9o+k88lJk5z
         4RdA==
X-Gm-Message-State: ALKqPwe8LoeA0RwqVOq5aiEg5O3s21rV8t9hsS4qTSre0OQ61kPKjS89
 dEeZjkdRfzW+YUhjePQlPaIEaM5zFZchvhshJQJOew==
X-Google-Smtp-Source: ADUXVKIwm2DNXigCjW+RX1hgQkb6ik98Nc94GqfKIVEYZZgHsSJvG8f0fr8YsRURTHRDo1KKH7SueD4/cWLhxYI4oIg=
X-Received: by 2002:a9d:1057:: with SMTP id o23-v6mr789667oto.45.1527656015251;
 Tue, 29 May 2018 21:53:35 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a9d:cb6:0:0:0:0:0 with HTTP; Tue, 29 May 2018 21:53:14 -0700 (PDT)
In-Reply-To: <CAP50yQ_OyK0cNNPbQU3YhfUkROd1hB5bds4nEgGTpmwvX-W6Wg@mail.gmail.com>
References: <CABe10sYeeNQKgPm8g4n4xrUkCwHswfxe-Vztd84g=12CnPM=DQ@mail.gmail.com>
 <CAP50yQ_OyK0cNNPbQU3YhfUkROd1hB5bds4nEgGTpmwvX-W6Wg@mail.gmail.com>
From: William Sescu <william.sescu@gmail.com>
Date: Wed, 30 May 2018 06:53:14 +0200
Message-ID: <CAEogZXXEnrBM3Ot1un06ZXRNe1=foa6s+ai+zOHiJg3Gimm6wA@mail.gmail.com>
Subject: Re: Slow connections with 12.2 client
To: ORACLE-L <oracle-l@freelists.org>
Content-Type: multipart/alternative; boundary="00000000000020cc0c056d6522ee"
X-archive-position: 71595
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: william.sescu@gmail.com
Precedence: normal
Reply-To: william.sescu@gmail.com
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
--00000000000020cc0c056d6522ee
Content-Type: text/plain; charset="UTF-8"

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:

https://blog.dbi-services.com/oud
-oracle-unified-directory-11-1-2-3-oracle-generates-more-and-more-ldap-
lookups-with-every-release/

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

Cheers,
William



On Tue, May 29, 2018 at 6:25 PM, Stefan Knecht <knecht.stefan@gmail.com>
wrote:

> Not a windows guy at all, but have you tried tracing it?
> https://stackoverflow.com/questions/3847745/systrace-for-windows
>
> Might show you the syscall it's hanging on which would confirm if it's
> indeed some sort of lookup that hangs.
>
> Stefan
>
>
>
> On Tue, May 29, 2018 at 9:11 PM, Niall Litchfield <
> niall.litchfield@gmail.com> 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.
>>
>> 12.1
>> ORACLE_HOME: C:\APP\ORACLE\INSTANTCLIENT_12_1
>> TNS_ADMIN: C:\APP\TNS
>>
>> 12.2
>> 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
>> http://www.orawin.info
>>
>
>
>
> --
> //
> zztat - The Next-Gen Oracle Performance Monitoring and Reaction Framework!
> Visit us at zztat.net | @zztat_oracle | fb.me/zztat | zztat.net/blog/
>

--00000000000020cc0c056d6522ee
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello Niall,<div><br></div><div>I observed quite some time=
 ago, that <span class=3D"" id=3D":26z.1" tabindex=3D"-1" style=3D"">sqlplu=
s</span> connections in combination with <span class=3D"" id=3D":26z.2" tab=
index=3D"-1" style=3D"">LDAP</span> is getting slower and slower with every=
 release.</div><div>The reason for it, is that Oracle does more and more <s=
pan class=3D"" id=3D":26z.3" tabindex=3D"-1" style=3D"">LDAP</span> searche=
s with every release.</div><div><br></div><div>With 10gR2, 1 <span class=3D=
"" id=3D":26z.4" tabindex=3D"-1" style=3D"">LDAP</span> search was sufficie=
nt, with 11gR2 you have already 2, and with 12cR1 and higher you got 3. For=
 more information, that a look at:</div><div><br></div><div><a href=3D"http=
s://blog">https://blog</a>.<span class=3D"" id=3D":26z.5" tabindex=3D"-1" s=
tyle=3D"">dbi</span>-<a href=3D"http://services.com/">services.com/</a><spa=
n class=3D"" id=3D":26z.6" tabindex=3D"-1" style=3D"">oud</span>-oracle-uni=
fied-directory-11-1-2-3-oracle-generates-more-and-more-<span class=3D"" id=
=3D":26z.7" tabindex=3D"-1" style=3D"">ldap</span>-<span class=3D"" id=3D":=
26z.8" tabindex=3D"-1" style=3D"">lookups</span>-with-every-release/<br></d=
iv><div><br></div><div>Unfortunately, there is no Patch or workaround that =
I am aware of, to fix this issue.</div><div><br></div><div>Cheers,</div><di=
v>William</div><div><br></div><div><br></div></div><div class=3D"gmail_extr=
a"><br><div class=3D"gmail_quote">On Tue, May 29, 2018 at 6:25 PM, Stefan K=
necht <span dir=3D"ltr">&lt;<a href=3D"mailto:knecht.stefan@gmail.com" targ=
et=3D"_blank">knecht.stefan@gmail.com</a>&gt;</span> wrote:<br><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex"><div dir=3D"ltr">Not a windows guy at all, but have you =
tried tracing it?=C2=A0<a href=3D"https://stackoverflow.com/questions/38477=
45/systrace-for-windows" target=3D"_blank">https://stackoverflow.com/<wbr>q=
uestions/3847745/systrace-<wbr>for-windows</a><div><br></div><div>Might sho=
w you the syscall it&#39;s hanging on which would confirm if it&#39;s indee=
d some sort of lookup that hangs.</div><div><br></div><div>Stefan</div><div=
><br></div><div><br></div></div><div class=3D"gmail_extra"><div><div class=
=3D"h5"><br><div class=3D"gmail_quote">On Tue, May 29, 2018 at 9:11 PM, Nia=
ll Litchfield <span dir=3D"ltr">&lt;<a href=3D"mailto:niall.litchfield@gmai=
l.com" target=3D"_blank">niall.litchfield@gmail.com</a>&gt;</span> wrote:<b=
r><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:=
1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Hi<div><br></div><div>Has=
 anybody else observed initial connectivity with the 12.2 windows=C2=A0clie=
nt to be significantly slower than in 12.1 (or 11.2).=C2=A0My setup has lda=
p=C2=A0and TNS_ADMIN involved.</div><div><br></div><div>12.1=C2=A0</div><di=
v>ORACLE_HOME: C:\APP\ORACLE\INSTANTCLIENT_12<wbr>_1<br></div><div>TNS_ADMI=
N: C:\APP\TNS</div><div><br></div><div>12.2</div><div>

<div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:sm=
all;font-style:normal;font-variant-ligatures:normal;font-variant-caps:norma=
l;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;te=
xt-transform:none;white-space:normal;word-spacing:0px;text-decoration-style=
:initial;text-decoration-color:initial">ORACLE_HOME: C:\APP\ORACLE\INSTANTC=
LIENT_12<wbr>_2<br></div><div style=3D"color:rgb(34,34,34);font-family:aria=
l,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:norma=
l;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align=
:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:=
0px;text-decoration-style:initial;text-decoration-color:initial">TNS_ADMIN:=
 C:\APP\TNS</div><div><br></div>Extract from an admin level sqlnet trace in=
 12.1=C2=A0</div><div><br></div><div><div>(12180) [29-MAY-2018 14:53:56:171=
] nnflgetnlpactx: NLPA context successfuly initialized=C2=A0</div><div>(121=
80) [29-MAY-2018 14:53:56:172] nnflgetnlpactx: exit</div><div>(12180) [29-M=
AY-2018 14:53:56:517] nnfloidinfocache: entry</div><div>(12180) [29-MAY-201=
8 14:53:56:517] nnfloidinfocache: Info:=C2=A0 Inserted value DIRECTORY_SERV=
ER_TYPE=3DOID at index 0 into NLPA_CACHE</div></div><div><br></div><div>and=
 from 12.2=C2=A0</div><div><br></div><div><div>(9712) [29-MAY-2018 14:47:01=
:777] nnflgetnlpactx: NLPA context successfuly initialized=C2=A0<br></div><=
div>(9712) [29-MAY-2018 14:47:01:777] nnflgetnlpactx: exit</div><div>(9712)=
 [29-MAY-2018 14:47:38:195] nnfloidinfocache: entry</div><div>(9712) [29-MA=
Y-2018 14:47:38:195] nnfloidinfocache: Info:=C2=A0 Inserted value DIRECTORY=
_SERVER_TYPE=3DOID at index 0 into NLPA_CACHE</div>

<br></div><div>Note the extra 30 secs between exit from the=C2=A0<span styl=
e=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-=
style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-we=
ight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transf=
orm:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,2=
55);text-decoration-style:initial;text-decoration-color:initial;float:none;=
display:inline">nnflgetnlpactx function and entry to the OID related functi=
on=C2=A0<span style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;fon=
t-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-c=
aps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-inde=
nt:0px;text-transform:none;white-space:normal;word-spacing:0px;background-c=
olor:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:i=
nitial;float:none;display:inline">nnfloidinfocache=C2=A0</span></span></div=
><div><div><br></div><div>I have a ticket with Oracle Support but=C2=A0wond=
ered if anyone else has seen this.=C2=A0</div><span class=3D"m_464897570074=
3788528HOEnZb"><font color=3D"#888888">-- <br><div class=3D"m_4648975700743=
788528m_1151397244861402722gmail_signature">Niall Litchfield<br>Oracle DBA<=
br><a href=3D"http://www.orawin.info" target=3D"_blank">http://www.orawin.i=
nfo</a></div>
</font></span></div></div>
</blockquote></div><br><br clear=3D"all"><div><br></div></div></div><span c=
lass=3D"HOEnZb"><font color=3D"#888888">-- <br><div class=3D"m_464897570074=
3788528gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"=
><div><div dir=3D"ltr"><div>//</div><span style=3D"font-size:small">zztat -=
 The Next-Gen Oracle Performance Monitoring and Reaction Framework!</span><=
div style=3D"font-size:small">Visit us at=C2=A0<a href=3D"http://zztat.net/=
" style=3D"color:rgb(17,85,204)" target=3D"_blank">zztat.net</a>=C2=A0| @zz=
tat_oracle | <a href=3D"http://fb.me/zztat" target=3D"_blank">fb.me/zztat</=
a> | <a href=3D"http://zztat.net/blog/" target=3D"_blank">zztat.net/blog/</=
a></div></div></div></div></div>
</font></span></div>
</blockquote></div><br></div>

--00000000000020cc0c056d6522ee--
--
http://www.freelists.org/webpage/oracle-l


