SQL Server

Blog

Understanding SQL Server Execution Plans: A Complete Guide to Reading and Optimizing Query Plans

Read SQL Server execution plans: right-to-left flow, scans vs seeks, joins, sorts, aggregates, lookups, warnings—then fix bottlenecks with indexes and SARGable SQL.
Blog

Essential DMV Queries for SQL Server Performance Monitoring

Master SQL Server performance monitoring with essential DMV queries. Learn to identify slow queries, monitor CPU/memory, detect blocking, and optimize database performance with practical examples.
Blog

SQL Server Join Algorithms: Nested Loops / Hash Join / Merge Join

Learn how SQL Server chooses Nested Loops, Hash Join, and Merge Join. This guide explains execution plans, Outer/Inner roles, Sort behavior, and practical examples.
Blog

How to compare differences between tables

Learn how to compare table data between SQL Server instances using EXCEPT and tablediff.exe. Includes sample data, linked server setup, output examples, and how tablediff uses checksums.
Blog

Understanding Pages and Extents in SQL Server

Understand SQL Server storage internals: page structure, extents, allocation units, GAM/SGAM/PFS/IAM allocation pages, plus transaction log basics (VLF, log blocks, LSN).
Blog

What is unallocated space and unused space in SQL Server?

Learn the difference between unallocated space and unused space in SQL Server. Understand pages, extents, and how sp_spaceused reports storage.
Blog

How to Map SQL Server Session ID to OS Thread ID

Learn how to map a high-CPU OS thread ID to a specific SQL Server session and query. This step-by-step guide uses DMVs and Process Explorer to connect OS-level threads with SQL Server workloads for easier performance troubleshooting.
Blog

Understanding Transaction Isolation Levels in SQL Server

Learn how SQL Server transaction isolation levels work, from Read Uncommitted to Snapshot and RCSI. Understand dirty reads, non-repeatable reads, and phantom reads.
Blog

Optimized Locking in SQL Server 2025 and Azure SQL – How It Really Improves Concurrency

Deep dive into optimized locking in SQL Server 2025 and Azure SQL: TID, LAQ, SIL, setup steps, and before/after demos to reduce blocking and deadlocks.
Blog

What is Quorum in Windows Server Failover Cluster (WSFC)

Learn what Quorum is in Windows Server Failover Cluster (WSFC). Understand how votes, witnesses, and Dynamic Quorum work, and explore configuration methods, scenarios, and best practices.