Performance Tuning with Indexes: Internals and Best Practice
2013TL; DR
Indexes allow SQL Server to access your data in the most efficient manner and can improve performance by orders of magnitude. This seminar looks at index storage internals as well as best practices, so you can create the best indexes for your data.
Session Details
Indexes allow SQL Server to access your data in the most efficient manner. Understanding exactly how our indexes are structured and stored internally can give you a deeper understanding of what indexes will be useful for your queries. Knowing how indexes are useful can allow us to generalize some best practice
recommendations. In this seminar we’ll look at the following topics:
.
Basic Index Structures
Clustered vs nonclustered
Unique vs non-unique
Included columns
Tools for Exploring Index Structures
Index maintenance
Page splits
Fragmentation and Defragmentation
Index Design Considerations
AND’s/ OR’s
JOIN’s
Composite Indexes
Best Practice Guidelines
Columnstore Index Storage
Columnstore Index Guidelines
3 things you'll get out of this session
Speakers
Kalen Delaney's previous sessions
Behind the Query Store…
Look inside Query Store to see what it does and how it works
Exploring Statistics: Where estimated rowcount comes from
A look inside SQL Server distribution statistics
What Happened? Exploring the Plan Cache
In this session, we'll explore SQL Server's plan cache, including techniques for discovering what plans are in cache, how often they've been run, and whether they contain any sub-optimal operators. Knowing what's happened is the first step in tuning.
Seeking SQL Server Secrets
In this session, I’ll tell you about some of my favorite undocumented features, and also tell you some of my tricks for discovering more undocumented secrets.