Search Tools Links Login

Speeding up LDAP Queries


The GC server contains a replica of every object in every domain in the forest but stores only some of the attributes for each of those objects. Think of a phone book: It lists the names and addresses of the people in your city, but it doesn''t show their height, weight, or eye color. Many attributes in the GC are indexed to speed up queries against them.

If your code is searching for an attribute that isn''t in the GC or one that''s present but not indexed, the query will take an unusual amount of time.

The Microsoft article "Default Global Catalog Attributes in Windows 2000 Active Directory Schema" lists the indexed attributes. By querying these attributes (or forcing the GC to index the attributes you do use), you can significantly improve your search performance.

About this post

Posted: 2008-01-25
By: FortyPoundHead
Viewed: 3,225 times

Categories

Active Directory

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.