The SQL Server execution plan (query plan) is a set of instructions that describes which process steps are performed while a query is executed by the database engine. The query plans are generated by the query optimizer and its essential goal is to generate the most efficient (optimum) and economical query plan. Some query plans that are created by the query optimizer contain some interesting characteristics. In this article, we will go into details of these interesting query plans.
Read more »Performance tuning
A case study of SQL Query tuning in SQL Server
December 8, 2020Gaining experience in SQL query tuning can be very difficult and complicated for database developers or administrators. For this reason, in this article, we will work on a case study and we are going to learn how we can tune its performance step by step. In this fashion, we will understand well how to approach query performance issues practically.
Read more »Troubleshooting using Wait Stats in SQL Server
November 26, 2020Introduction
Troubleshooting using Wait Stats in SQL Server is an important perspective when it comes to managing databases. As a database professional, you might have come across situations, where your end-users are not happy with reports being slower. It will leave you to find the reason for the report slowness.
Read more »Query Tuning with SQL Server 2019
November 23, 2020In this article, we will talk about the query tuning features that were announced with SQL Server 2019.
Read more »Dynamic management views for monitoring availability replicas and databases for SQL Server Always On Availability Groups
November 19, 2020In this 37th article for SQL Server Always On Availability Groups, we will explore useful dynamic management views for monitoring availability replicas and databases.
Read more »Explore dynamic management views for monitoring SQL Server Always On Availability Groups
November 16, 2020In this 36th article for SQL Server Always On series, we will explore various dynamic management views (DMV’s) for monitoring the AG replicas.
Read more »Explore the SQL query table hint READPAST
November 14, 2020SQL Server creates an optimized execution plan based on the available inputs such as statistics, indexes. By default, it chooses a cost-optimized execution plan and executes the query. Sometimes, we use SQL queries table hints to override the default mechanism. Developers popularly use WITH (NOLOCK) query hint in a Select statement to avoid blocking issues.
Read more »Custom policies for AG dashboards of SQL Server Always On Availability Groups
November 10, 2020In this 35th article in SQL Server Always On Availability Groups, we will implement a custom policy for monitoring AG groups.
Read more »The Hub and Spoke model of policy-based management for SQL Server Always On Availability Groups
November 9, 2020In this 34th article on SQL Server Always On Availability Groups, we will explore policy-based management features for the AG’s.
Read more »Explore secrets of the SQL Server tempdb database
October 29, 2020In this article, we will uncover some secrets about the SQL Server tempdb database. Tempdb is a system database and it is used for various internal and user operations. Besides this, the tempdb has many unique characteristics, unlike the other databases. When we take into account all of these features of the tempdb, there is no doubt that it is an essential part of the SQL Server.
Read more »Boost SQL Server Performance with Wait Statistics
October 26, 2020In this article, we will explore, how we can increase SQL Server performance with the help of the wait statistics. Wait statistics are one of the most important indicators to identify performance issues in SQL Server. When we want to troubleshoot any performance issue, at first we need to diagnose the problem correctly because correctly diagnosing problems help with half of the solution. Now, let’s learn wait statistics which helps to identify performance issues properly.
Read more »Monitor SQL Server Always On Availability groups using extended events
October 20, 2020In this 33rd article of SQL Server Always On Availability Group series, we will use extended events to monitor the availability group.
Read more »SQL Server Clustered Indexes internals with examples
October 14, 2020In this article, we will learn the SQL Server clustered index concept and some internal details. Indexes are the database objects that accelerate the performance of data accessing when are designed properly. A clustered index is one of the main index types in SQL Server and the working principle is a bit complicated but in the next sections of this article, we are going to simply learn the clustered index working principle and uncover the secrets.
Read more »Apply SQL Server patches or cumulative updates in SQL Server Always On Availability Groups
October 14, 2020In this 32nd article on SQL Server Always On Availability Group series, we will discuss the process to apply a service pack or Cumulative packs for AG replica instances.
Read more »Make the most of secondary replicas in SQL Server Always On Availability Groups
October 13, 2020In this 31st article of the SQL Server Always On Availability Group series, we will explore how you can use the secondary replica SQL database for your workloads.
Read more »Column-level SQL Server encryption with SQL Server Always On Availability Groups
October 12, 2020It is the 30th article in the SQL Server Always On Availability Groups series and explores column-level SQL Server encryption with AG groups.
Read more »Performing a Load Test on SQL Server using Apache JMeter
October 7, 2020In this article, we will learn how to use Apache JMeter to perform a load test on SQL Server. This test type enables us to measure the application behaviors under specific conditions so that it enables us to observe a variety of resource consumptions (CPU, memory, latency, response times, etc) and it also helps to detect the performance bottlenecks. Database testing can help to find out and identify the problem when the database working under high workloads with multiple users. The database people can identify and fix the performance issues before publishing the database into the production through these tests.
Read more »SQL Server Always On Availability Groups for SQL Server Linux instances
October 6, 2020In this 29th article of the SQL Server Always On Availability Groups series, we configure the AG between SQL Server Linux instances.
Read more »Explore SQL Server PolyBase External Tables in SQL Server Always On Availability Groups
September 29, 2020In this 28th article for SQL Server Always On Availability Group series, we explore the high-availability for the SQL Server PolyBase(SSB) external tables using AG groups.
Read more »Explore failover types in SQL Server Always On Availability Groups
September 29, 2020In this 27th article of the SQL Server Always On Availability Group series, we will discuss various failover modes for AG databases.
Read more »Improve SQL Server transaction log performance with Delayed Durability
September 29, 2020In this article, we will learn the Delayed Durability feature that helps to improve transaction log file write throughput in SQL Server.
Read more »Suppress successful login and backups messages from the error log for SQL databases
September 28, 2020In this article, we will explore the method to suppress successful login and backups messages in the error log for SQL databases.
Read more »Scalar UDF Inlining in SQL Server 2019
September 28, 2020In this article, we will explore a new SQL Server 2019 feature which is Scalar UDF (scalar user-defined) inlining. Scalar UDF inlining is a member of the intelligent query processing family and helps to improve the performance of the scalar-valued user-defined functions without any code changing.
Read more »Suspend and Resume Data Movement in SQL Server Always On Availability Groups
September 23, 2020In this 26th article for SQL Server Always On Availability Groups series, we will discuss the process to suspend and resume data movements between AG replicas.
Read more »Configure SQL Server Reporting Services databases in SQL Server Always On Availability Groups
September 22, 2020This is the 25th article in SQL Server Always On Availability Groups series. In this article, we will explore the high availability configuration for reporting services databases.
Read more »