FREE PDF

Inside the SQL Server Query Optimizer

Download your free eBook.

About the eBook

by Benjamin Nevarez

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.

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 DBAs and Developers 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 Query Optimizer 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.

Buy from Amazon.com
Buy from Amazon.co.uk

Free PDF download

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.

Share

  • Twitter
  • Facebook
  • LinkedIn