Index Utilization
Chapter 22 provided an understanding of table and index structures and the overhead required to maintain your data and indexes. Now it’s time to put things into practice to actually come up with an index design for your database, defining the appropriate indexes to support your queries. To effectively determine the appropriate indexes that should be created, you need to determine whether they’ll actually be used by the SQL Server Query Optimizer. If an index is not being used effectively, it’s just wasting space and creating unnecessary overhead during updates.
The main criterion to remember is that SQL Server does not use an index for the more efficient row locator lookup if at least the first column of the index is not included ...
Get Microsoft SQL Server 2014 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.