Performance Tuning

Why Multiple JOINs are bad for Query or Do Not Get in the Way of Optimizer

Database administration, Performance Tuning, SQL Server

Recently, I came across an application that generated DB queries. I understand that there is...
Read More

USE HINT and DISABLE_OPTIMIZED_NESTED_LOOP

Database administration, Performance Tuning

One of the available algorithms to join two tables together in SQL Server is Nested Loops. The nested loops join uses one join input as the...
Read More

Optimizing Overlapping Queries Part 1: Introduction & Enhanced T-SQL Solution

Database administration, Performance Tuning, Statements

Databases that serve business applications should often support temporal data. For example, suppose a contract with a supplier is valid for...
Read More

Implementing SQL Server Performance Indicator for Queries, Stored Procedures and Triggers

Database administration, Performance Tuning

Preface Sooner or later, a DB administrator would like to have a performance indicator for SQL...
Read More

XML performance tips

Database administration, Performance Tuning

Parsing data from XML using XQuery is a routine practice. In order to do this most effectively, little effort is required. Suppose we need...
Read More

Foreach or For – That is the Question

ASP .NET CORE, Languages & Coding, Performance Tuning • 2 Comments

The discussion about the preference difference between FOREACH and FOR is not new. We all know that FOREACH is slower, but not all know...
Read More

Query Performance Insight: Discovering What Consumes Resources of Your Azure SQL Database?

Azure, Cloud, Database administration, Performance Tuning

In this post, I’d like to take a brief look at the Query Performance Insight — SQL Azure tool...
Read More
Close