Inside the SQL Server Query Optimizer

This book will take you from the fundamentals of Statistics, Cost Estimation, Index Selection, and the Execution Engine, and guide you through the inner workings of the Query Optimization process, and throws in a pragmatic look at Parameterization and Hints along the way.

1175-QueryOptimizerCover_200h.jpg

Inside the SQL Server Query Optimizer

Get your free PDF download here.

Also available to buy from Amazon.com and Amazon.co.uk

This book will take you from the fundamentals of Statistics, Cost Estimation, Index Selection, and the Execution Engine, and guide you through the inner workings of the Query Optimization process, and throws in a pragmatic look at Parameterization and Hints along the way

Why read this book?

The SQL Server Query Optimizer is perceived by many to be a magic black box, transforming SQL queries into high performance execution plans in the blink of an eye through some unknowable process. The truth is that, while the Query Optimizer is indeed the highly-complex result of decades of research, learning how it works its magic is not only possible, but immensely useful to database developers  and administrators alike.

A better understanding of what the Query Optimizer does behind the scenes can help you to improve the performance of your databases and applications, and this book explains the core concepts behind how the SQL Server Query Optimizer works. With this knowledge, you’ll be able to write superior queries, provide the Query Optimizer with all the information it needs to produce efficient execution plans, and troubleshoot the cases when the Query Optimizer is not giving you the best plan possible.

With over 15 years of experience in the use of Relational Databases (including SQL Server since version 6.5), Benjamin has watched the SQL Server Relational Engine grow and evolve. His insight will leave you with an excellent foundation in the practicalities of the Query Optimizer, and everything you need to know to start tuning your queries to perfection.

Table of Contents

  • Chapter 1: Introduction to Query Optimization
  • Chapter 2: Execution Engine
  • Chapter 3: Statistics and Cost Estimation
  • Chapter 4: Index Selection
  • Chapter 5: The Optimization Process
  • Chapter 6: Additional Topics
  • Chapter 7: Hints

About the Author

Benjamin Nevarez is a database professional based in Los Angeles, California. He has more than 15 years of experience with relational databases, and has been working with SQL Server since version 6.5. Benjamin has been the technical editor of the two latest books by Kalen Delaney, including “SQL Server 2008 Internals.” He holds a Master’s Degree in Computer Science and has been a speaker at several technology conferences, including the PASS Community Summit. You can read Benjamin’s blog at www.benjaminnevarez.com.