Measuring SQL Query Duration: GETDATE() and DATEDIFF()

Learn how to accurately measure SQL query duration using GETDATE() and DATEDIFF() functions in SQL Server for performance tuning and optimization.

Read more

Resolving SQL Server Deadlocks with UPDLOCK Query Hint

Learn how to resolve SQL Server deadlocks caused by a large stored procedure using the UPDLOCK query hint for improved performance.

Read more

SQL Server DR – Distributed AG vs Single AG Across Two Sites

Learn the pros and cons of using distributed availability groups vs a single AG stretched across two sites for SQL Server disaster recovery.

Read more

Harnessing the Power of Physical Reads for SQL Server Performance Tuning

Discover how to harness the power of physical reads for SQL Server performance tuning. Learn strategies to identify bottlenecks, optimize queries, and improve database performance.

Read more

Unlocking the Power of the KEEP PLAN Query Hint in SQL Server

Learn how to use the KEEP PLAN query hint in SQL Server to prevent unexpected query recompilations and maintain stable performance.

Read more

Supercharging SQL Server Query Performance with Trace Flag 8649

Learn how to dramatically improve SQL Server query performance by forcing parallelism with trace flag 8649 in this step-by-step guide.

Read more

Beware of Pitfalls with Cross-Database Queries at Different Compatibility Levels

Learn about potential issues that can arise when running cross-database queries between SQL Server databases at different compatibility levels.

Read more

Optimizing SQL Server Performance with TSQL_SCALAR_UDF_INLINING

Learn how to boost SQL Server performance using TSQL_SCALAR_UDF_INLINING. Discover when to enable or disable this feature for optimal results.

Read more

Should You Clear SQL Server Wait Stats After Raising Database Compatibility Level?

Learn whether clearing SQL Server wait stats is necessary after raising your database compatibility level and how it impacts performance tuning.

Read more

Can Inequality Columns Ever Lead a SQL Server Non-Clustered Index?

Learn when it’s okay for an inequality search column to lead a SQL Server non-clustered index, boosting query speed. See examples & get indexing tips!

Read more