Query-Performance

Category: query-performance

Books to Learn SQL Server Performance Tuning and Database Design

Books to Learn SQL Server Performance Tuning and Database Design

By Kendra Little on October 11, 2016

I get a lot of requests about which books are helpful to learn performance tuning and database design. I totally get that – I still like learning with books. It doesn’t mean training videos or blogs are any less cool. They can all work together.

Continue reading

Can I Use Statistics to Design Indexes? (Dear SQL DBA Episode 18)

Can I Use Statistics to Design Indexes? (Dear SQL DBA Episode 18)

By Kendra Little on October 6, 2016

Should you look at automatically created statistics on Β your tables in SQL Server to help you design better indexes? Learn why in this 20 minute video, or subscribe to the Dear SQL DBA podcast.

No time to watch? Scroll on down, everything is written in article form below the video.

Here’s this week’s question:

Continue reading

Track Query Tuning Progress and History in Plan Explorer

Track Query Tuning Progress and History in Plan Explorer

on October 4, 2016

As you tweak and test queries, it’s awfully useful to see how the performance has changed.

Continue reading

Setting up Free Blocking Alerts and Deadlock Monitoring (Dear SQL DBA Episode 17)

Setting up Free Blocking Alerts and Deadlock Monitoring (Dear SQL DBA Episode 17)

What tools in SQL Server will notify you about blocking and help track the queries behind your toughest blocking and deadlocking problems?

Continue reading

Measuring Query Duration: SSMS vs SQL Sentry Plan Explorer

Measuring Query Duration: SSMS vs SQL Sentry Plan Explorer

Every query tuner wants to explain exactly how much faster we made a query.

But sometimes SQL Server Management StudioΒ adds noticeable overhead to the query duration. For relatively fast queries that return more than a few rows, just the overhead of displaying the results can skew your duration metric.

Continue reading

Which is Worse: an Unused Index, or an Un-Indexed Foreign Key? (Dear SQL DBA Episode 16)

Which is Worse: an Unused Index, or an Un-Indexed Foreign Key? (Dear SQL DBA Episode 16)

Should you always index your foreign keys? What if you index them, and then the index never gets used?

Continue reading

Index Tuning Decision Tree for SQL Server

Index Tuning Decision Tree for SQL Server

I recently mapped out my thought process for how I approach a new instance of SQL Server when it comes to index tuning.

Continue reading