CHAPTER 6

image

Index Maintenance

Like anything in life, indexes require maintenance. Over time, the performance benefits of indexes can wane or, through data modifications, their sizes and the underlying statistics can bloat. To prevent these issues, indexes must be maintained. If you do so, your database will remain lean, mean, querying machines.

When it comes to maintenance, there are two areas to consider: index fragmentation and statistics. Each plays a key role in maintaining a properly indexed and well performing database.

This chapter explains both of these areas. You’ll learn about issues that arise from not maintaining indexes and review strategies ...

Get Expert Performance Indexing for SQL Server 2012 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.