Execution-Plans

Tag: execution-plans

New SSMS Features: Click + Drag and Click + Mouse Scroll

New SSMS Features: Click + Drag and Click + Mouse Scroll

The best featuresΒ are the ones that you use all the time. SQL Server 2016 Management Studio’s bringing improvements in navigating around execution plans.

Continue reading

Live Query Statistics Do Not Replace Actual Execution Plans

Live Query Statistics Do Not Replace Actual Execution Plans

I like SQL Server’s new Live Query Statistics feature a lot for testing and tuning large queries.Β One of my first questions was whether this could replace using actual execution plans, or if it’s useful to use both during testing.

Finding: Both are useful. And both can impact query performance.

Continue reading

Did My Query Eliminate Table Partitions in SQL Server?

Did My Query Eliminate Table Partitions in SQL Server?

Working with table partitioning can be puzzling. Table partitioning isn’t always a slam dunk for performance: heavy testing is needed. But even getting started with the testing can be a bit tricky!

Here’s a (relatively) simple example that walks you through setting up a partitioned table, running a query, and checking if it was able to get partition elimination.

Continue reading