Platinum Sponsor

Dive into the Query Optimizer-Undocumented Insight

This 500 level session will focus on using undocumented statements and trace flags to get insight into how the query optimizer works and show you which operations it performs during query optimization. I will use these undocumented features to explain what the query optimizer does from the moment a query is submitted to SQL Server until an execution plan is generated including operations like parsing, binding, simplification, trivial plan, and full optimization. Concepts like transformation rules, the memo structure, how the query optimizer generates possible alternative execution plans, and how the best alternative is chosen based on those costs will be explained as well.
Presented by Benjamin Nevarez at SQLBits XII
  • Downloads
    Slide deck available Slide Deck 1.4 MB
    Samples available Demo Code 4 KB
  • SpeakerBIO

    Benjamin Nevarez is a database professional based in Los Angeles, CA, and author of “Inside the SQL Server Query Optimizer”. He has also contributed to other SQL Server books including “SQL Server 2012 Internals”. Benjamin has 20 years of experience with relational databases and has been working with SQL Server since version 6.5. He holds a Master’s Degree in Computer Science and has been a speaker at many SQL Server conferences, including the PASS Summit and SQL Server Connections. Benjamin’s blog is at http://www.benjaminnevarez.com and can be reached by e-mail at admin at benjaminnevarez dot com and on twitter at https://twitter.com/BenjaminNevarez.

    http://www.benjaminnevarez.com/ http://feeds.feedburner.com/BenjaminNevarez
  • Video
    The video is not available to view online.