Problem: Active Directory slowness issues in various parts of the webNetwork product - login, webStorage, webAdmin, etc...
Solution(s): Indexing an attribute helps queries find objects that have that attribute more quickly and efficiently than if the attribute had no index. Ideally, indexed attributes are single value with highly unique values that are evenly distributed across the set of instances. Multivalue attributes can be indexed, but the cost to build the index is larger in terms of storage and updating. Even with single-value attributes, keep in mind that the more indexed attributes a class has, the longer it takes to modify or create instances of the class.
Install the Schema snap-in:
- Open Command Prompt on DC
- Type: regsvr32 schmmgmt.dll (this command will register Schmmgmt.dll on your computer. For more information about using regsvr32)
- Click Start, click Run, type mmc /a, and then click OK.
- On the File menu, click Add/Remove Snap-in, and then click Add.
- Under Available Standalone Snap-ins, double-click Active Directory Schema, click Close, and then click OK.
- To save this console, on the File menu, click Save.
To index an attribute:
- Open the Active Directory Schema snap-in.
- In the left-hand pane, click Attributes.
- In the right-hand pane, right-click the attribute that you want to index, and then click Properties.
- Click Index this attribute in the Active Directory and click OK to save the change.
- Close the Active Directory Schema snap-in.
References:
Keywords: AD, Active Directory, Search Index