Demisfying tempdb database

tempdb is the unsung hero of SQL Server, silently powering temporary tables, internal operations, and session-specific tasks. Understanding how it works and how to optimize it is crucial for maintaining performance and avoiding bottlenecks in your SQL Server environment. [More]

Explaining Memory-Optimized Tables

Today, I am going to share how can you boost your database performance to new heights with SQL Server memory-optimized tables! Designed for speed and efficiency, these tables redefine data processing by keeping critical data in memory for blazing-fast results. [More]

Introduction to Query Store

Do you know SQL Server keeps an inventory of your SQL queries, where you could track performance, pinpoint bottlenecks, and instantly access the history of every executed query. Even you could force a regressed query to use its previous plan! That is the power of SQL Query Store. The built-in performance tuning tool that provides deep insights into query performance over time. In this article, you will see how Query Store can be used to troubleshoot and optimize your query performance. [More]

Explaining SQL Server Statistics

Query optimizer depends on statistics to estimate the cardinality or number of rows of a query result. In other words, it is the knowledge of how many rows are in a table, and how many of those rows satisfy the various search and join conditions, and so on. Based on this, optimizer creates the best query plan. Sometimes, tweaking the statistics helps to produce efficient query plan. In this article, we are going to explore the fundamentals of SQL Server statistics. [More]

Understanding SQL Server Execution Plan Part-1

When a query performs poorly and you fails to understand the reason behind it. You need to check the execution plan. However, reading an execution plan is like reading a new language. You need to understand the operators, their properties, data flows, meaning of icons, order of operators etc. In this article series, I am going to discuss this step by step. [More]