[389-users] performance Q with ldapsearch

ghiureai isabella.ghiurea at nrc-cnrc.gc.ca
Fri Sep 11 14:50:14 UTC 2015


Fast query:

ldapsearch -x -h xxx -b "ou=ds,dc=cb,dc=net" -W
-D "uid=axxx,ou=Users,ou=ds,dc=cb,dc=net"
"(objectclass=groupofuniquenames)" "cn"  | sort -u | wc


Slow query:
ldapsearch -x -h xxx-b
"ou=groups,ou=ds,dc=cb,dc=net" -W -D
"uid=axxx,ou=Users,ou=ds,dc=cb,dc=net"
"(objectclass=groupofuniquenames)" "cn"  | sort -u | wc




On 09/10/2015 03:00 PM, ghiureai wrote:
> Hi Gurus,
> we are seening some performance issues when running ldapsearch  with
> tree ou=Groups, ou=ds , dc=abc, dc=net takes longer than when looking
> for same user but from one level up of tree up aka :ou=ds,
> dc=abc,dc=net, the difference in time very high , any idea why we seeing
> this ?
> Also we are seeing time exec diff when running from same levele of DS(
> under ou=ds) but  different ou's  ?
>
> Isabella




More information about the 389-users mailing list