Learn how to determine the state of your indexes and understand whether that state should be changed. See how evaluating the construction and location of your system's indexes and deciding whether to adjust their fill factors and padding can improve the system's performance.
by Drew Georgopulos
November 14, 2002
Indexes are critical to smooth data retrieval and manipulation in SQL Server. They are the way foreign keys maintain relationships among themselves and the way DB pros enforce order on data. The system decides how and where an index is built by following the database practitioners directions to address the following questions:
Is the index the result of a constraint?
Is the index clustered or not?
If it is a non clustered index, should it be on a different file group?
If it is clustered, what fill factor and padding should be used?
Is the index unique or not?
Is the index in ascending or descending order?
Is the index built on a single column, or more than one column?
A look at the column and table constraint language from the create table statement reveals placeholders that implement these decisions:
It's quick, easy and you get access to all the articles on DevX.
This registration/login is to allow you to read articles on devx.com. Already a member?
To become a member of DevX.com create your Member Profile by completing the form below. Membership is free!