Skip to content

Details

In-person meeting on MONDAY July 16th:

Query Tuning Internals for the Advanced SQL Developer

Level: 300-400

Summary: Learn the hidden internals of query processing and apply those lessons in your SQL applications, diving deep into the algebrizer and optimizer.

Abstract:
Skilled SQL developers know that the SQL Server query optimizer uses a multi-step process to produce execution plans. But what about deeper components like the parser, the binder, the algebrizer, as well as the optimizer itself? This session will teach you advanced techniques for query tuning as well as surprising behaviors of the query optimization process that can have a dramatic impact on performance, with special attention paid to the processes controlled by the algebrizer, including associative, commutative, and transitive transformations.

We will examine a variety of everyday queries whose performance can be greatly improved by apply a deeper understanding of these internal behaviors. Lots of examples and demos!

Goal 1: Learn advanced and undocumented methods to see the steps of parsing,binding, algebrizing, and query optimization.

Goal 2: Explore the SQL Server internal memo structure to see how SQL Server uses the heuristics of the algebrizer and query optimizer.

Goal 3: Walk through several examples of SQL queries whose behavior can be greatly improved when you apply what you’ve learned about the algebrizer and query optimizer.

Prerequisites: Attendees must know how to write and tune SQL queries, as well as how to read execution plans.

Speaker Bio:
Kevin (@kekline) serves as Principal Program Manager at SentryOne. He is a founder and former president of PASS and the author of popular IT books like SQL in a Nutshell. Kevin is a renowned database expert, software industry veteran, Microsoft SQL Server MVP, Google Author, and long-time blogger at sqlblog.com and at kevinekline.com. As a noted leader in the IT industry, Kevin's blog covers Microsoft SQL Server features and best practices, third-party software, trends in the IT industry, and professional development for IT professionals.

Related topics

Sponsors

Centric Consulting

Centric Consulting

Thank you to Centric Consulting for the annual Sponsorship!

You may also like