Missing PK and Clustered indexes
This script will find missing PK and Clustered indexes Script or Heap Tables
View ArticleWays to minimize sort operations
In this article Brian Ellul explorea how it's possible to eliminate the SORT operator (and its performance cost) on performing SELECTS statements.
View ArticleDo You Really Need Surrogate Keys? Part 1 – Concepts and Methods
This is the first of a series of articles to analyze the use of surrogate keys in different scenarios.
View ArticleSQL Server Tables without a Clustered Index
It is a general best practice to have a clustered index on all of your SQL Server tables. Unfortunately, not everybody knows that. This tip helps you find tables that do not have a clustered index.
View ArticleCan a Table Really Have a Clustered Index?
A table doesn't so much "have" a clustered index as a table "is" a clustered index.
View ArticleTables and Clustered Indexes Part 2
A table does not so much 'have' a clustered index as a table 'is' a clustered index.
View ArticlePrimary Keys which are not Clustered Indexes in a database
Recently I was asked to find all the Primary keys that are not clustered Indexes in the database. I constructed the below script which will help us to locate the primary keys in the database which are...
View ArticleWhen SQL Server Nonclustered Indexes Are Faster Than Clustered Indexes
SQL Server Clustered indexes can have enormous implications for performance of operations on a table. But are there times when a SQL Server non-clustered index would perform better than a clustered...
View ArticleGet the all the tables on the server which do not have Clustered index
Get the list of the tables on the server which dont have the clustered index.
View ArticleWhy Primary Keys can be important on large tables
I inherited a database that was getting large and not performing well. After adding primary keys life got better.
View ArticleNonClustered Index Structure
Learn how the clustered index keys affect the non clustered index structure.
View ArticlePrimary Keys which are not Clustered Indexes in a database
Recently I was asked to find all the Primary keys that are not clustered Indexes in the database. I constructed the below script which will help us to locate the primary keys in the database which are...
View ArticleWhy Primary Keys can be important on large tables
I inherited a database that was getting large and not performing well. After adding primary keys life got better.
View ArticleComparing Space Usage for Different Compression Types
This is an investigation, to get an impression on the impact of the used disk space before and after compression considering different index types. How to fix SQL Server disk I/O bottlenecks (without a...
View ArticlePerformance Myths : Clustered vs. Non-Clustered Indexes
Aaron Bertrand kicks off his "Performance Myths" series, showing a "redundant" non-clustered index outperforming the clustered index with the same key.
View ArticleWhere Clustered Index Keys Dare
We’ve blogged a couple times about how clustered index key columns get stored in your nonclustered indexes. But where they get stored is a matter of weird SQL trivia. You see, it depends on how you...
View Article