SQL Server Query Processing and Query Optimization Internals

Session Information

When faced with performance issues there are many lines of attack. Tuning the hardware and infrastructure can get you so far, however for maximum effect you need to understand how the engine translates your submitted SQL statements into performable actions.  This is not a simple task, the number of permutations of logical operations can be immense and to perform optimally the engine has to select the ‘best one’.
In this precon, we will be looking at the processes involved of taking a simple statement and forming a workable well performing execution plan.
Firstly, we will be looking at Execution plans themselves and picking them apart to describe the physical actions   that are executed by the engine to perform the required statement.  This will be followed by statistics, estimation and caching and the role that they play in forming and costing execution plans.
After lunch,  we will see how SQL Server 2014 has new functionality within it and the problems that they are designed to resolve. Finally, they day will finish with query optimizer internals, picking apart its various internal steps and forensically examining its operations.
<strong>We are offering a voucher for a fourth person to attend a session for free if your company (or a group of friends) book 3 attendees on our training day sessions email SQLSatExeter @ SQLSouthWest.co.uk for further details</strong>

Speaker bio

Dave Ballantyne is a freelance SQL Server database architect/designer/developer/consultant and lives near London, England. He is a regular speaker at UK and European events and user groups and founded the London “SQL Supper” user group. He takes a keen interest in all things SQL and data related and is never happier than picking apart a poorly executing query. He has also created an open sourced add-in for SQL Server data tools (SSDT) called “TSQL Smells”. This detects and reports on ‘suspect’ code within a project and can be found at https://github.com/davebally/TSQL-Smells. Outside of work he is husband, father of 3 and exasperated archer.