With the help of the SET STATISTICS TIME ON statement, we can easily report the execution time statistics of a query. In this article, we will learn how to report the query execution time statistics through this statement.
Read more »Performance tuning
SQL Server Deadlocks with Foreign Keys
May 27, 2021In this article, we will try to find out the answer to the question of “Does a foreign key lead to a deadlock?”
Read more »Working with SQL NULL values
May 19, 2021This article will explain what problems can occur when working with SQL NULL values and it also gives some solution recommendations to overcome these issues.
Read more »SQL Server Performance Tuning tips for beginners
May 12, 2021This article intends is to give helpful SQL Server performance tuning advice to those who want to learn performance tuning.
Read more »Impact of SQL Variables on Performance
May 10, 2021In this article, we are going to learn how SQL variables negatively affect query performance and also examine the causes of this issue.
Read more »Hidden secrets of SQL Server Foreign Keys
April 21, 2021This article will describe the effect of SQL Server foreign keys on query plans which are created by the query optimizer.
Read more »SQL Server Performance Tuning made simple
April 19, 2021In this article, we’ll show a process for SQL Server performance tuning, and several tools, tips and techniques you can use to monitor performance and take the necessary steps to improve it.
Read more »Understanding Execution Plans of the SQL Server Insert statement
April 16, 2021In this article, we will learn how to interpret an execution plan of a SQL Server insert statement.
Read more »How to handle 100 million rows with SQL Server BCP
April 9, 2021In this article, we will explore the Bulk Copy Program tool that is also known as the SQL Server BCP tool. BCP allows us to export data into particular flat-file formats from SQL Server, and it also enables us to transfer data between different SQL Server instances or into the SQL Azure.
Read more »Capturing deadlocks on AWS RDS SQL Server databases
April 7, 2021This article will explore the process to capture deadlock XML and deadlock graphs for AWS RDS SQL Server databases.
Read more »Export indexes and constraints from SQL Server graph databases to Neo4j
April 6, 2021In our previously published article in this series, we explained how to migrate SQL Server graph tables into Neo4j and why migration could be beneficial. We only mentioned how to migrate node and edge tables, and we did not mention indexes and constraints. This article is an extension of the previous one, where we will explain how to export the supported indexes and constraints from SQL Server to the Neo4j graph database. In addition, all codes are added to the project we already published on GitHub.
Read more »Query Optimization in SQL Server for beginners
April 5, 2021This article intends to give some details about the query optimization process in SQL Server.
Read more »Overview and Performance Tips of Temp Tables in SQL Server
March 31, 2021In this article, we will learn the essentials of the temp tables in SQL Server and we will also discuss some performance tips about temporary tables.
Read more »Query Optimization Myths
March 23, 2021In this article, we will talk about two query optimization myths and these myths can be changed according to the characteristics of the queries. Every query can exhibit different behaviors according to data distribution, SQL Server version, database settings, and other tons of parameters therefore the fixed ideas may not help to overcome the query performance issues. In the next part of the article, we will focus on the following most known discourse:
Read more »Symptoms of Parameter Sniffing in SQL Server
March 17, 2021In this article, we will focus on how we can detect the parameter sniffing issues with different techniques.
Read more »Lease Timeouts and Health Checks in SQL Server Always On Availability Groups
March 8, 2021In the 42nd article for SQL Server Always On Availability Groups, we are going to explore lease timeouts and health checks.
Read more »Using Automatic Plan Correction for Query Tuning
March 4, 2021In this article, we will learn what is plan regression and how we can fix this issue with help of the Automatic Plan Correction feature.
Read more »Modes of Transactions in SQL Server
February 17, 2021In this article, we are going to talk about the modes of transactions in SQL Server.
Read more »Transactions in SQL Server for beginners
February 10, 2021In this article, we will talk about fundamental details of the transactions in SQL Server.
Read more »Session timeouts in SQL Server Always On Availability Groups
February 8, 2021In this 41st article for SQL Server Always On Availability Groups, we will explore the session timeout configurations for AG replicas.
Read more »How to read an execution plan with all details
January 28, 2021In this article, we will discuss how to read the SQL Server execution plan (query plan) with all aspects through an example, so we will gain some practical experience that helps to solve query performance issues. Interpreting query plans correctly is the first and major principle to troubleshoot query performance issues. When we try to find an answer to the “why is this query running slow?” question, the best starting point would be to analyze the query plan.
Read more »Synchronize logins between Availability replicas in SQL Server Always On Availability Groups
January 21, 2021In this 40th article on SQL Server Always On Availability Group series, we will discuss logins synchronization between replicas.
Read more »SQL Server ORDER BY performance tips
January 5, 2021In this article, we will explore how the ORDER BY statement affects the query performance and we will also learn some performance tips related to sorting operations in SQL Server.
Read more »Configure Integration Services Catalog Database SSISDB in SQL Server Always On Availability Groups
December 14, 2020In this 39th article for SQL Server Always On Availability Group series, we will learn to configure SSISDB in the highly available AG groups.
Read more »Configure SQL Server Always On Availability Groups using Windows PowerShell scripts
December 10, 2020In this 38th article for SQL Server Always On Availability Groups, we will explore Windows PowerShell scripts to configure it.
Read more »