This post is about the several ways of reading the query plan (called the showplan options). Now that we know what a query plan is, why it’s helpful and what it consists of (iterators), let’s find out how we can read the query plans in SQL Server. I believe most of you are familiar with Read More
In this post I will continue the discussion about iterators in the context of a query execution plan. This time, I will tell you about some of their most important properties and the things to take into consideration when investigating the performance of an execution plan.
In this article I will explain the concept of iterators, in the context of the query execution plan. First, you will find out what they are. Second, I will tell you what are the main actions performed by an iterator. And last, but not least, I am going to show you how they work in Read More
This is the first post from my complex tutorial project called “Understanding Query Execution Plans”. This is an introductory post, in which I will guide you through the concepts you need to know before starting to analyze the plans.
As most of you know, on the 1st of June, 2016, a new version of SQL Server was released. Obviously, it is called SQL Server 2016. And according to Microsoft, it’s supposed to be amazing.
In this article, I will explain what are nested transactions and how we can use them. The article is structured in the form of interview questions. Some questions may have a more detailed answer than what is needed, but the purpose is to give you a clear overview on this subject, not only a cheat Read More
In this article, I will explain about the possible transaction modes in SQL Server. The article is structured in the form of interview questions. Some questions may have a more detailed answer than what is needed, but the purpose is to give you a clear overview on this subject, not only a cheat sheet for your next Read More
The transactions subject is a very important one in SQL Server and a must have knowledge for all the good developers. However, although mostly everybody is familiar with the concept of transactions and is also able to use them successfully in SQL Server, there may be some more sensitive issues regarding transactions which are not Read More
Grouping sets in SQL Server always comes into handy when you find yourself in the need to perform data aggregation based on groups. The groups are made by defining a set of attributes that the engine will use to split the data.
One thing I believe it’s important for everyone who is interested in the database business is the way logical query processing works. And it’s interesting to observe that even some experienced developers have problems interpreting how a query gets processed by SQL Server. In this article, I intend to explain the best I can how Read More