
Archive:
- September 2026 (1)
- August 2026 (8)
- July 2026 (8)
- June 2026 (7)
- May 2026 (7)
Search site:
Tags:
Compilation (1) Concurrency (3) debian (2) docker (2) Execution Plans (6) Indexes (2) internals (11) linux (5) Optimization (6) Parameterization (1) Performance (9) Performance Tuning (2) postgres (6) RCSI (2) sql (1) SQL Server (24) Statistics (2) Stored Procedures (1) Transactions (1) Version Store (2)
Categories:
Docker (2) Linux (4) MongoDB (1) PostgreSQL (6) SQL Server (24)
Tag: Execution Plans
-
sp_executesql and Execution Plans

Whilst I would say the actual execution plan is the most useful, estimated execution plans have their place – sometimes you just need to see estimates or a quick verification that a change you have made has had some effect on plan shape. I find them helpful to quickly see if a change made to…
-
In a Query Plan Near You – Stats Loaded For Compilation

Something I have been making use of recently is the change in the way statistics that have been used to compile a plan are presented to us as SQL Server users. On a number of occasions I have needed to understand, or at least get some sense of, which statistics SQL Server has used to…
-
SQL Server – Working Smarter, Not Harder

Back in my university days, a lecturer of mine would say how programmers are experts in “creative laziness” He was referring to practices such as using methods and classes in C# – constructs that mean as a developer, you follow the DRY (Don’t Repeat Yourself) ethos – you are saving yourself time by writing things…
-
SQL Server – Working Smarter, Not Harder (Again)

In the last post we talked about the concept of creative laziness and how SQL Server’s query optimizer notices when the user has asked for something that requires no actual work due to a logical contradiction. In this post, we’ll look at another example of where the optimizer works smarter not harder and can reduce…
-
SQL Server Execution Plans Explained

In these articles, you will see me reference execution plans a lot – talk about them, provide screenshots etc. I assume that the reader has some level of knowledge about what an execution plan is, how to view them and how to understand them. This post is aimed at those readers who do not have…
-
More on Execution Plans

In my previous post on execution plans we looked at what an execution plan is, how SQL Server creates them and why we might use them, now we’ll delve a little further. Recap We very briefly compared two SQL Server execution plans on two queries against the Stack Overflow 2010 database provided under cc-by-sa 4.0…