Monday, October 06, 2008     | Register
Index Management

 

Foreign Keys without an Index

 

A common performance problem stems from unindexed Foreign Keys. In addressing this, Paul Nielsen wrote (and kindly published the code for) a script to create composite non clustered indexes on foreign keys without a matching index. Thanks Paul! ... Source : Paul Nielsen - SQLBlog.com

 

 

Duplicate Indexes

 

Some great scripts from Paul to find duplicate (or overlapping) indexes ... Source : Paul Nielsen - SQLBlog.com

 

 

sp_indexinfo

 

A fantastic proc from Tibor that returns index information from a number of DMVs. Among other information, it returns the indexes for a table, the type of index (clustered or non clustered), the included columns, how often the index is used and the space taken by the index. Great stuff Tibor ... Source : karaszi.com - Article

 

 

Index Fragmentation

 

In this blog post, Kalen answers a couple of questions on Index Fragmentation giving a good insight into some of the finer details ... Source : Kalen Delaney - SQLblog.com - Blog Post

 

 

Online Indexing Operations in SQL Server 2005

 

Introduced in SQL Server 2005 Enterprise Edition, the online index feature provides a powerful way to perform maintenance operations such as rebuilding or creating indexes in a production system without sacrificing DML concurrency. This paper provides a detailed discussion of the index process and provides guidelines and best practices for implementing this feature in a production environment ... Source : Microsoft.com - Technet Article

 

 

Fragmentation in SQL Server - Everything you wanted to know …

 

A 7 part blog post from Chad Boyd on Fragmentation in SQL Server. What it is, how to avoid it and what to do with it ... Source : Chad Boyd - MSQLTIPS.com - Blog Post

 

 

Retrieve Index Usage Statistics

 

The sys.dm_db_index_usage_stats view allows you to determine which indexes are used only lightly (sum of user columns) and to determine which indexes are incurring maintenance overhead (user_updates column). You may want to consider dropping indexes that incur maintenance overhead, but are used infrequently for queries ... Source : Microsoft.com - Technet Article

 

 

Reorganising and Rebuilding Indexes

 

This BOL article shows how the sys.dm_db_index_physical_stats function can be used to measure fragmentation and discusses the various rebuild options based on the level of fragmentation ... Source : Microsoft.com - MSDN Article

 

 

Comparing Tables Organized with Clustered Indexes versus Heaps

 

This white paper summarizes the advantages and disadvantages, the difference in performance characteristics, and other behaviors of tables that are ordered as lists (clustered indexes) or heaps ... Source : Microsoft.com - Technet Article

 

 

DBCC SHOWCONTIG Improvements in SQL Server 2005 and comparisons to SQL Server 2000

 

This article describes the improvements of DBCC Showcontig in SQL 2005 and it's preferred alternative, the DMV's ... Source : Microsoft.com - Technet Article

 

 

How can SQL Server 2005 help me evaluate and manage indexes?

 

In this blog post, the SQL CAT team talk about using DMV's to determine the cost and effectiveness of indexes ... Source : Tom Davidson - SQL Server Customer Advisory Team - Blog Post

 

 

Analysing Indexes

 

A four part indexing special from Grumpy Old DBA covering index related DMV's, collecting index data, statistics, index size and clustered index selection ... Source : Grumpy Old DBA - Blog Post

 

 


Statistics
 

Statistics Used by the Query Optimizer in Microsoft SQL Server 2005

 

Microsoft® SQL Server™ 2005 collects statistical information about indexes and column data stored in the database. These statistics are used by the SQL Server query optimizer to choose the most efficient plan for retrieving or updating data. This paper describes what data is collected, where it is stored, and which commands create, update, and delete statistics - Update : See the SQL 2000 version of this document here which includes more background information on statistics within SQL Server ... Source : Microsoft.com - Technet Article

 

 

DBCC SHOW_STATISTICS

 

In this post, Kalen goes into a little detail on the output of DBCC SHOW_STATISTICS, which is used to interrogate SQL Server's statistic information for a given index or column ... Source : Kalen Delaney - SQLblog.com - Blog Post

 

 

Ordering Index and Statistics Maintenance

 

Should you update statistics after a full index rebuild? These and other questions answered by Master blogger Paul Randal ... Source : Paul S. Randal - sqlskills.com - blog post

 

 

Are statistics over non-indexed columns updated by index rebuild?

 

When an index is rebuilt, the statistics for that index are as well. What about non indexed columns? ... Source : Tibor Karaszi - SQLblog.com - Blog Post


Full Text Indexing

 

SQL Server 2005 Full-Text Queries on Large Catalogs: Lessons Learned

 

The observations in this paper are based on tests run in the SQL Server Customer Lab for a customer who needed to scale up full-text search to a much greater potential volume. The paper describes the customer scenario, provides an overview of SQL Server 2005 full-text concepts that bear on the results, and offers lessons learned and recommendations for using full-text queries on large catalogs ... Source : Microsoft.com - Technet Article

 

 

SQL Server 2005 Full-Text Search: Internals and Enhancements

 

See the benefits and new features of SQL Server 2005 full-text search for both developers and database administrators ... Source : Microsoft.com - MSDN Article

 



Copyright (c) 2008 sqlCrunch.com   |  Privacy Statement  |  Terms Of Use