One Operator a Day

Hi SQL folks, my name is Kanchan Bhattacharyya. I work as a Sr. DBA in a leading IT services company. In this “One Operator a Day” series, I intend to write about SQL Server Execution Plan Operators. Hope you enjoy! Happy Learning!
Posted on November 20, 2014 by kanchanbhattacharyya

Hi Geeks, Many of us might have experienced that a query runs perfect for long time then suddenly it started performing very bad with no clues. After lot of investigation, we …
Read More »
Posted on November 19, 2014 by kanchanbhattacharyya

Hi Geeks, Think of a situation when you want to apply query hint to a query that is part of application code but development team is unwilling to touch application code. …
Read More »
Posted on November 18, 2014 by kanchanbhattacharyya

Hi Geeks, Today I will be talking about SQL Server expand views hint and its impact on execution plan. We will create an indexed view first then dive into the topic. --USE …
Read More »
Posted on November 17, 2014 by kanchanbhattacharyya

Hi Geeks, Welcome to the Part3 of SQL Server query hints execution plan. You can read last two posts by clicking Part1 and Part2. Today we are going to see how …
Read More »
Posted on November 16, 2014 by kanchanbhattacharyya

Hi Friends, Welcome to the Part2 of SQL Server query hints execution plan and you can read Part1 by clicking here. Let us start with a simple query. In the example below …
Read More »
Posted on November 15, 2014 by kanchanbhattacharyya

Hi Friends, Today we are going to discuss on SQL Server query hints execution plan. Let us consider following SQL statement; USE [AdventureWorks2012] SELECT * FROM Sales.SalesOrderDetail ORDER BY SalesOrderDetail.ProductID Imagine …
Read More »
Posted on November 14, 2014 by kanchanbhattacharyya

Hi Geeks, Today we are going to explore SQL Server table hints execution plan operation. Consider following SQL query. USE [AdventureWorks2012]; SELECT * FROM Sales.SalesOrderDetail WHERE SalesOrderDetail.ProductID = 776 In the …
Read More »
Posted on November 13, 2014 by kanchanbhattacharyya

Hi Friends, We can control SQL Server query optimizer’s decision by forcing any T-SQL queries to use a specific join type. In today’s post we will explore SQL Server Join hints …
Read More »
Posted on November 12, 2014 by kanchanbhattacharyya

Hi Geeks, Today we will talk about SQL Server Parallelism Operator. SQL Server may decide parallelism to help some expensive queries to run faster which means it decides to use multiple …
Read More »
Posted on November 11, 2014 by kanchanbhattacharyya

Hi Geeks, Before moving ahead with something new on One operator a day series, I wanted discuss another scenario on SQL Server Nested Loop Join Operator. I recommend you to read my earlier …
Read More »
Posted on November 10, 2014 by kanchanbhattacharyya

Hi Friends, This is a follow up post of my previous blog posts on SQL Server Nested Loop Join operator Part1 and Part2. I got a question in one of the …
Read More »
Posted on November 9, 2014 by kanchanbhattacharyya

Hi Geeks, Today we will have a look into execution plan for READ_ONLY cursor. You can read my previous posts on SQL Server Cursor Operators by clicking Part1, Part2, Part3, Part4, Part5, …
Read More »
Posted on November 8, 2014 by kanchanbhattacharyya

Hi Geeks, Yesterday on Part6 of SQL Server Cursor Operators we saw how estimated execution plan changes when we change CURSOR type to KEYSET and today we are going to explore its …
Read More »
Posted on November 7, 2014 by kanchanbhattacharyya

Hi Geeks, Today we are going to discuss about KEYSET cursor and if you missed out earlier posts on SQL Server Cursor operators, you can click Part1, Part2, Part3, Part4 and …
Read More »
Posted on November 6, 2014 by kanchanbhattacharyya

Hi Geeks, I hope you liked Part1 , Part2 , Part3 and Part4 of SQL Server Cursor Operators. Today, we are going to see physical operators for a STATIC CURSOR. Let me use the same query …
Read More »
Posted on November 5, 2014 by kanchanbhattacharyya

Hi Geeks, Welcome to the Part4 of SQL Server Cursor Operators. You can read previous posts by clicking Part1, Part2 and Part3. In our previous posts, we have covered dynamic cursor operation but …
Read More »
Posted on November 4, 2014 by kanchanbhattacharyya

Hi Geeks, Welcome to the Part3 of SQL Server Cursor Operator. If you missed my last two posts on the subject you can read them by clicking Part1 and Part2. You might …
Read More »
Posted on November 3, 2014 by kanchanbhattacharyya

Hi Friends, Yesterday we have covered first part of the execution plan used in our example and in case you missed that, please click on SQL Server Cursor Operators – Part1 and …
Read More »
Posted on November 2, 2014 by kanchanbhattacharyya

Hi Friends, Today we are going to start on SQL Server cursor operators and continue our discussion for next few days. Let us consider following CURSOR which is declared with no options …
Read More »
Posted on November 1, 2014 by kanchanbhattacharyya

Hi Geeks, I hope you liked Part1 of SQL Server Eager Spool operator. To start from where we left yesterday, today we are going to explore what happens if SQL Server …
Read More »
Older Entries »