Execution Plan Interpretation

Reading operators, properties, plan shape, and actual-versus-estimated behavior.

92 associated posts86 primary posts

Performance Tuning

An Introduction to Query Memory

Microsoft has been quietly making some amazing improvements for performance tuners in SQL Server 2012, 2014, and 2016. This week, we're going to introduce you to just how awesome they are. (They being the improvements, not Microsoft. You already knew they were awesome.)

Using the freely available StackOverflow database, let's start with a simple query - SELECT * FROM Users:

Read more about An Introduction to Query Memory 9 comments — Join the discussion
Performance Tuning

Improved diagnostics for query execution plans that involve residual predicate pushdown

I love stuff like this!
Even though it's not on my list of dream features, it's pretty neat. Getting new views into what SQL is doing when queries execute is pretty cool. You can read the short and gory details at the KB here: Improved diagnostics for query execution plans that involve residual predicate pushdown in SQL Server 2012

Read more about Improved diagnostics for query execution plans that involve residual predicate pushdown 6 comments — Join the discussion
Performance Tuning

Comparing Estimated and Actual Execution Plans in SQL Server

Let’s say you want to have an addition built on your house. You contact a contractor, who comes to your house, looks at your lot, looks at what exists, and asks you questions about exactly what you want. He then gives you an estimate of the work – approximately how long he thinks it will take his crew, what supplies will be needed, and the cost of those supplies.

Read more about Comparing Estimated and Actual Execution Plans in SQL Server 17 comments — Join the discussion