Will a long filter string affect the search perfomance in ldap?
Will a long filter string affect the search perfomance in ldap?
Will it affect the search time?开发者_开发技巧
Thanks.
Off course it will, simply because its large :)
I would suggest 2 things:
1) Post a example search of what your trying to do in the post, perhaps you definition of large is different from other ppl.
2) Benchmark yourself to see, if the search takes 1 second and thats ok then you have solved your problem.
On a side note, you can direct ldap queries to spesifc domain controlers, so during testing and production perhaps aim it one of the "backup" domain contolers might be a good idea
精彩评论