December 2013
Intermediate to advanced
1872 pages
153h 31m
English
SQL Server allows you to create a maximum of 999 nonclustered indexes on a table. Until tables become extremely large, the actual space taken by a nonclustered index is a minor expense compared to the increased access performance. You need to keep in mind, however, that as you add more indexes to the system, performance of database modification statements is impacted due to the increased index maintenance overhead.
Also, when defining nonclustered indexes, you typically want to define indexes on columns that are more selective (that is, columns with low density values) so that they can be used effectively by the Query Optimizer. A high number of duplicate values in a nonclustered index can often make it more expensive ...