Performance Tuning

Valuable SQL Server Performance Tuning tips, tutorials, how-to’s, scripts, and more for SQL Server DBAs.

Title Author Date
SQL Server Memory Optimized Table vs. Temporary Table Performance Mehdi Ghapanvari2026-06-08
A Practical Deep Dive into I/O for T-SQL Performance Tuners MSSQL Tips2026-05-19
SQL Server Isolation Level Comparison – Repeatable Read and Snapshot Isolation Jared Westover2026-05-19
SQL Server ASYNC_NETWORK_IO Wait Type M A A Mehedi Hasan2026-05-18
Understanding Query Performance Issues Caused by Local Variables in SQL Server Mehdi Ghapanvari2026-05-17
Picking the ON or WHERE Clause for the SQL Predicate Jared Westover2026-05-14
SQL Query Troubleshooting: Memory Issues and Timeouts Mehdi Ghapanvari2026-05-13
Identify SQL Server Performance Problems Quickly and Efficiently MSSQL Tips2026-05-12
Built in Performance Reports in SSMS Greg Robidoux2026-05-08
SQL Server OPTION RECOMPILE for Simple Queries Jared Westover2026-05-04
Create a SQL Server Baseline M A A Mehedi Hasan2026-04-04
SQL Server Table-Valued Parameter Join Issues in Stored Procedures Mehdi Ghapanvari2026-04-04
Different Ways to Flush or Clear SQL Server Cache Bhavesh Patel2026-03-24
Memory Grant Feedback Reduces the Impact of Outdated SQL Server Statistics Mehdi Ghapanvari2026-03-14
SQL Server Table Valued Function Performance Comparison – Multi-Statement vs Inline Mehdi Ghapanvari2026-03-08
Optimize SQL Server Query without Changing the Query Mehdi Ghapanvari2026-03-06
SQL Server Concurrency Issues with Parallel Query Plans Mehdi Ghapanvari2026-03-02
Understanding SQL Server PAGEIOLATCH Wait Types M A A Mehedi Hasan2026-02-19
Identify and Mitigate SQL Server High Memory Usage M A A Mehedi Hasan2026-01-22
SQL Server Query Optimization from SQLGrease Greg Robidoux2025-12-01
Identify and Mitigate High CPU SQL Server Usage Queries M A A Mehedi Hasan2025-11-17
SQL Parameter Sniffing Fix with a Covering Index Mehdi Ghapanvari2025-11-03
SQL Query Memory Consumption in SQL Server 2025 Mehdi Ghapanvari2025-09-30
Query Performance Degraded After SQL Server Upgrade Mehdi Ghapanvari2025-07-29
Identify and Clean Up SQL Server Plan Cache Bloat Chandan Shukla2025-06-20
Getting IO and time statistics for SQL Server queries Tim Cullen2025-06-12
Analyzing the SQL Server Plan Cache Atif Shehzad2025-06-08
Index Scans and Table Scans Greg Robidoux2025-06-05
SQL Plan Cache and Parameterized SQL Queries Mehdi Ghapanvari2025-05-29
Database Caching Example Levi Masonde2025-05-06
Database Engine Tuning Advisor Greg Robidoux2025-05-04
Query Execution Plans Greg Robidoux2025-05-04
Performance Monitor Greg Robidoux2025-05-04
Performance Related Tools Greg Robidoux2025-05-04
Troubleshooting Blocking Greg Robidoux2025-05-04
Investigating I/O bottlenecks Greg Robidoux2025-05-04
Discovering Unused Indexes Greg Robidoux2025-05-04
Eliminating bookmark (key/rid) lookups Greg Robidoux2025-05-04
Performance Issues Greg Robidoux2025-05-04
Dynamic Management Views Greg Robidoux2025-05-04
SQL Server Performance Tuning and Monitoring Tutorial Greg Robidoux2025-04-23
Date Range SQL Server Query Performance Issues with Parameter Sniffing Mehdi Ghapanvari2025-03-20
Pinpoint SQL Server Performance Problems Quickly and Efficiently MSSQL Tips2025-03-19
Identify Anti-Patterns in SQL Server Queries Rajendra Gupta2025-03-18
Improve Query Performance when SQL Server Ignores Nonclustered Index Mehdi Ghapanvari2025-02-03
Identify CPU Intensive SQL Queries from Implicit Conversions Edwin Sarmiento2025-01-22
Database Cloning in SQL Server for Troubleshooting and Diagnostics Manvendra Singh2024-12-29
Identify SQL Server Performance Problems Quickly and Efficiently MSSQL Tips2024-11-07
The Future of SQL Server Database Tuning MSSQL Tips2024-10-10
Uncover SQL Server Missing Indexes Jared Westover2024-09-11
Cost Threshold for Parallelism Affects SQL Server Missing Indexes Jared Westover2024-08-22
SQL Local Variables and Performance Issues Jared Westover2024-07-31
Exploring Whether Storage is the Root Cause of Your Performance Woes MSSQL Tips2024-07-09
Performance Testing SQL Queries with SqlQueryStress MSSQL Tips2024-06-27
SQL Server 2022 TempDB Contention Enhancements Simon Liew2024-06-19
Pass Parameters to SQLQueryStress for SQL Server Performance Tuning Jared Westover2024-03-21
SQL Server Performance for Natively Compiled SQL Stored Procedures Mehdi Ghapanvari2023-10-09
Trends in SQL Server Performance Tuning MSSQL Tips2023-09-26
Correct SQL Server Parameter Sniffing when using TOP Clause Mehdi Ghapanvari2023-08-22
Learn How Implicit Conversions in SQL Server affect Query Performance Hadi Fadlallah2023-07-19
Improve SQL Query Performance when Estimated Rows is Incorrect Mehdi Ghapanvari2023-07-17
Identify and Understand Important Data to Improve SQL Server Performance MSSQL Tips2023-05-25
Performance Tuning SQL Server using Wait Statistics MSSQL Tips2023-05-02
Tune SQL Server Stored Procedures and Indexes with SqlQueryStress Jared Westover2022-09-19
Improve SQL Server Performance when Querying Very Large Log Tables Aaron Bertrand2022-07-07
Minimize SQL Server PAGELATCH_EX Waits on Index Pages Ben Snaidero2022-01-25
Trick to Optimize TOP clause in SQL Server Matteo Lorini2021-04-01
SQL Server SET STATISTICS IO ON Eric Blinn2021-01-26
Query Tuning in SQL Server with Execution Plans and Missing Indexes Eric Blinn2020-10-20
How to Make Query Execution Faster in SQL Server Eric Blinn2020-09-30
Get Current Running Queries in SQL Server with fn_get_sql Greg Robidoux2020-08-14
Capture Duration Metrics for SQL Server Query Tuning Rick Dobson2020-05-21
Set Statistics Time Examples for Tuning SQL Server Queries Rick Dobson2020-04-29
Measure Delayed Durability impact in SQL Server 2016 and later Aaron Bertrand2020-03-04
SQL Server Memory Pressure Troubleshooting Aakash Patel2020-02-25
Get SQL Server Delayed Durability Advantages Without Configuration Changes Simon Liew2020-02-13
Performance Tuning SQL Server Query without Execution Plan Jim Evans2019-09-04
Disk Latency for SQL Server Database and Transaction Log Files Eli Leiba2019-08-19
Find Current Executing SQL Queries Consuming Transaction Log Space Bhavesh Patel2019-02-21
Create a Process Dump of SQL Server using SqlDumper.exe Tool Daniel Farina2019-01-31
UPDATE Statement Performance in SQL Server Bhavesh Patel2019-01-04
SQL Server Query Optimization with Database Engine Tuning Advisor Diogo Souza2018-11-12
SQL Server Internal Query Cardinality Estimator Information Eli Leiba2018-09-27
Table Variable Deferred Compilation in SQL Server Aaron Bertrand2018-09-06
Optimize Moving SQL Server Data From One Table to Another Table Bhavesh Patel2018-07-13
Correlating Performance Monitor and SQL Server Profiler Data Greg Robidoux2018-06-02
A closer look at CXPACKET wait type in SQL Server Matteo Lorini2018-03-15
Optimize for ad hoc workloads – at the database level – in SQL Server Aaron Bertrand2018-02-01
Changes to SQL Server CXPACKET Wait Types Aaron Bertrand2017-12-18
SQL Server Performance Impact of Querying Unnecessary Columns Ben Snaidero2017-12-06
Reduce SQL Server WRITELOG waits using Delayed Durability Chandresh Patel2017-10-27
Get Detailed Wait Stats with SQL Server Execution Plan Ahmad Yaseen2017-10-05
How to find compiled parameter values for SQL Server cached plans Bhavesh Patel2017-08-18
How to Force a Parallel Execution Plan in SQL Server 2016 Ahmad Yaseen2017-07-12
SQL Server Performance Comparison of TOP vs ROW_NUMBER Ahmad Yaseen2017-06-29
Generate Performance Counter Graphs with SQL Server and R Jeffrey Yao2017-04-12
Improve SQL Server Table Variable Performance Using Trace Flag 2453 Ahmad Yaseen2017-03-09
DBCC CLONEDATABSE Enhancements in SQL Server 2016 SP1 Rajendra Gupta2017-02-20
How Incorrect SQL Server Table Statistic Estimates Can Cause Slow Query Execution Ben Snaidero2017-01-23
Finding what SQL Server Trace Flags were enabled for a query Ahmad Yaseen2017-01-11
SQL Server Read Ahead Reads Example Neeraj Prasad Sharma2017-01-03
Using a SQL Server Explain Plan to View Cached Query Plan Parameters in Management Studio Ben Snaidero2016-12-13
SQL Server Enterprise Advanced Scan aka Merry-Go-Round Scan Simon Liew2016-10-05
SQL Server DBCC CLONEDATABASE Example Rajendra Gupta2016-09-19
Collect SQL Server Performance Counter Sets Using Logman Susantha Bathige2016-08-12
Clone a SQL Server Database Using DBCC CLONEDATABASE Ahmad Yaseen2016-08-11
SQL Server Sargability – Queries on an Indexed Table Sometimes have Slow Performance Rick Kohler2016-06-24
Custom Solution to Measure SQL Server Query Performance Improvements Fikrat Azizov2016-06-06
Creating a Centralized Performance Collection Solution for SQL Server Fikrat Azizov2016-05-04
Disabling SQL Server Optimizer Rules with QUERYRULEOFF Daniel Farina2016-02-25
Analyzing SQL Server Performance Impact of Parameter Sniffing Ben Snaidero2016-02-24
Tracking Query Statistics on Memory Grants and Parallelism in SQL 2016 Marios Philippopoulos2016-02-23
Troubleshooting SQL Server Transaction Log Related Wait Types Daniel Farina2016-01-05
First Steps for SQL Server Performance Troubleshooting Daniel Farina2015-12-17
Find SQL Server Query Plans with Scans on Nonclustered Hash Indexes Robert L. Davis2015-11-16
SQL Server Performance Monitoring Tools Jeremy Kadlec2014-12-22
Windows Server Power Management Effect on SQL Server Simon Liew2014-11-06
Tuning SQL Server Code with T-SQL Commands Ben Snaidero2014-09-22
SQL Server Trace Flag for a Poor Performing Query Using QUERYTRACEON Daniel Farina2014-08-28
Testing SQL Server Query Performance Using Different Levels of Parallelism Ben Snaidero2014-08-08
Usage of DBCC OPTIMIZER_WHATIF for SQL Server Query Tuning Daniel Farina2014-08-07
Why the SQL Server FORCESCAN hint exists Aaron Bertrand2014-07-31
Using DBCC DROPCLEANBUFFERS When Testing SQL Server Performance Ben Snaidero2014-06-09
SQL Server Performance Tuning with Hypothetical Indexes Daniel Farina2014-06-03
Denormalize For Performance Ben Snaidero2014-02-17
DELETE CASCADE to Handle Child Key Removal in Foreign Key Relationship Ben Snaidero2014-02-17
Make Sure All Tables Have a Clustered Index Defined Ben Snaidero2014-02-17
Use WHERE, JOIN, ORDERBY, SELECT Column Order When Creating Indexes Ben Snaidero2014-02-17
Make Sure All JOIN Columns are Indexed Ben Snaidero2014-02-17
Use a Derived Table in Place of IN Predicate With Aggregate Functions Ben Snaidero2014-02-17
Avoid Using Wildcard Characters to Start Search Criteria Ben Snaidero2014-02-17
Avoid Using Functions in WHERE Clause Ben Snaidero2014-02-17
Avoid Using Not Equal in WHERE Clause Ben Snaidero2014-02-17
Remove Function Calls From the SELECT List Ben Snaidero2014-02-17
How Join Order Can Affect the Query Plan Ben Snaidero2014-02-17
SQL Server Query Performance Guidelines Tutorial Ben Snaidero2014-02-17
Techniques For Improving SQL Query Performance – Indexing, Parameterization and Partitioning Derek Colley2013-08-22
Troubleshooting Excess Compilations in SQL Server Using the Plan Cache and PowerShell Derek Colley2013-07-18
Gather IO statistics down to the SQL Server database file level Greg Robidoux2013-06-10
SQL Server Simple and Forced Parameterization Brady Upton2013-04-23
Troubleshooting SQL Server RESOURCE_SEMAPHORE Waittype Memory Issues Manvendra Singh2013-01-04
Find out which SQL Server instance is consuming most of the CPU Manvendra Singh2012-09-17
Removing Function Calls for Better Performance in SQL Server Ben Snaidero2012-07-10
Issues Caused by Outdated Statistics in SQL Server Tibor Nagy2012-06-21
Collecting and Storing Poor Performing SQL Server Queries for Analysis Ben Snaidero2012-02-07
Always have a good plan! What’s in your SQL Server Plan Cache? Robert Pearl2011-11-16
Perfmon Counters to Identify SQL Server Disk Bottlenecks Matteo Lorini2011-09-15
How to find out how much CPU a SQL Server process is really using Manvendra Singh2011-08-09
SQL Server performance tuning for each layer of an application Brady Upton2011-08-02
Error running the SQL Server Database Tuning Advisor for non SA users Manvendra Singh2011-07-08
Performance Advantages of SQL Server Filtered Statistics Matteo Lorini2011-04-29
Interesting example of statistics and index usage on a SQL Server computed column Matteo Lorini2011-03-22
How to Identify IO Bottlenecks in MS SQL Server Tibor Nagy2011-03-17
Tracing a SQL Server Deadlock Greg Robidoux2011-03-11
Profiler and Server Side Traces Greg Robidoux2011-03-11
How to Identify SQL Server CPU Bottlenecks Tibor Nagy2011-03-01
How to Identify Microsoft SQL Server Memory Bottlenecks Tibor Nagy2011-02-18
Identify SQL Servers with inefficient power plans using Policy Based Management Aaron Bertrand2011-01-18
Analyzing SQL Server Plan Cache Performance Using DMVs Tim Ford2010-12-31
Identifying Key and RID Lookup Issues and How to Resolve Aaron Bertrand2010-12-30
Trending Buffer Pool Performance Using DMV sys.dm_os_performance_counters Tim Ford2010-12-29
Speed up SQL Server queries with PREFETCH Matteo Lorini2010-12-08
More intuitive tool for reading SQL Server execution plans Aaron Bertrand2010-11-24
Improving SQL Server performance when using table variables Matteo Lorini2010-10-12
Finding SQL Server Deadlocks Using Trace Flag 1222 Ken Simmons2010-10-05
Issues with running DBCC SHRINKFILE on your SQL Server data files Andy Novick2010-07-07
How to create a SQL Server Clone Statistics Only Database Matteo Lorini2010-05-05
SQL Server 2008 64bit Query Optimization Trick Matteo Lorini2010-03-04
Tool to help you analyze SQL Server SQLDIAG and PSSDIAG output Matteo Lorini2009-12-11
Windows Reliability and Performance Monitor to troubleshoot SQL Server Sadequl Hussain2009-12-01
SQL Server Database Engine Tuning Advisor for Performance Tuning Ray Barley2009-11-03
Introduction to SQLDIAG for SQL Server Performance Monitoring and Tuning Ray Barley2009-10-21
Automate Perfmon Stats Collection for SQL Server and Windows Ranga Narasimhan2009-06-19
Convert Implicit and the related performance issues with SQL Server Andy Novick2009-04-21
Do SQL Server User Defined Datatypes (UDT) affect performance? Michelle Gutzait2009-04-08
Collecting performance counters and using SQL Server to analyze the data Hilary Cotter2009-04-03
Using schema binding to improve SQL Server UDF performance Atif Shehzad2009-02-20
SQL Server Schema Binding and Indexed Views Atif Shehzad2008-10-22
How To Collect Performance Data With TYPEPERF.EXE Ray Barley2008-09-03
Creating SQL Server performance based reports using Excel Kun Lee2008-06-09
Setup Performance Monitor to collect SQL Server performance stats Kun Lee2008-04-11
Optimize Parameter Driven Queries with SQL Server OPTIMIZE FOR Hint Greg Robidoux2007-10-18
SQL Server Database Specific Performance Counters Greg Robidoux2007-06-14
Avoid SQL Server functions in the WHERE clause for Performance Greg Robidoux2007-05-03
Remove some SQL Server blocking issues with the NOLOCK hint Greg Robidoux2007-04-27
Built in Performance Reports in SQL Server 2005 MSSQL Tips2007-02-14
NORECOMPUTE option of UPDATE STATISTICS in SQL Server Jeremy Kadlec2006-10-04
System Monitor (Perfmon) Counters for SQL Server Jeremy Kadlec2006-08-14