Query Optimizer

How to Confuse the SQL Server Query Optimizer

  • Article

Want to 'trick' SQL Server into performing millions of logical reads to return data, when only are few thousand were really required? In this article, Gail Shaw examines three common forms of generic SQL that can and will confuse the SQL Server Optimizer to the point that it generates and reuses very inefficient execution plans.

2015-09-21

3,875 reads

The SQL Server Query Optimizer

  • Article

To understand how to write SQL code for SQL Server that performs well, it is important to appreciate how the query optimizer works. Ben Nevarez explains the essentials, in a broad sweep through a complex subject, in an article taken from his new book 'Inside the SQL Server Query Optimizer'.

2011-09-09

4,876 reads

Blogs

SQL Clone Works with FILESTREAM

By

SQL Clone is an amazing product that virtualizes your data, allowing multiple instances to...

Fun and profit with UTF-8

By

When SQL Server 2019 was announced, it brought with it UTF-8 support. Also available...

Data Platform MVP 2020

By

I am humbled to be among so many great professionals and honored at the...

Read the latest Blogs

Forums

Removing TDE from a Database: Level 4 Stairway to TDE

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Removing TDE from a Database:...

The Basics of PowerShell Day By Day

By FrankDolan77

Comments posted to this topic are about the item The Basics of PowerShell Day...

Backing up a File for an offline filegroup

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Backing up a File for...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers