Learn T-SQL Querying: A guide to developing efficient and elegant T-SQL code


Learn T-SQL Querying: A guide to developing efficient and elegant T-SQL code
by: Pedro Lopes and Pam Lahoud 
Print Length 页数: 484 pages
Publisher finelybook 出版社: Packt Publishing (May 3,2019)
Language 语言: English
ISBN-10: 1789348811
ISBN-13: 9781789348811


Book Description
By finelybook

Troubleshoot query performance issues,identify anti-patterns in code,and write efficient T-SQL queries
Transact-SQL (T-SQL) is Microsoft’s proprietary extension to the SQL language that is used with Microsoft SQL Server and Azure SQL Database. This book will be a useful guide to learning the art of writing efficient T-SQL code in modern SQL Server versions,as well as the Azure SQL Database.
The book will get you started with query processing fundamentals to help you write powerful,performant T-SQL queries. You will then focus on query execution plans and learn how to leverage them for troubleshooting. In the later chapters,you will learn how to identify various T-SQL patterns and anti-patterns. This will help you analyze execution plans to gain insights into current performance,and determine whether or not a query is scalable. You will also learn to build diagnostic queries using dynamic management views (DMVs) and dynamic management functions (DMFs) to address various challenges in T-SQL execution. Next,you will study how to leverage the built-in tools of SQL Server to shorten the time taken to address query performance and scalability issues. In the concluding chapters,the book will guide you through implementing various features,such as Extended Events,Query Store,and Query Tuning Assistant using hands-on examples.
By the end of this book,you will have the skills to determine query performance bottlenecks,avoid pitfalls,and discover the anti-patterns in use.
Foreword by: Conor Cunningham,Partner Architect – SQL Server and Azure SQL – Microsoft
What you will learn
Use Query Store to understand and easily change query performance
Recognize and eliminate bottlenecks that lead to slow performance
Deploy quick fixes and long-term solutions to improve query performance
Implement best practices to minimize performance risk using T-SQL
Achieve optimal performance by: ensuring careful query and index design
Use the latest performance optimization features in SQL Server 2017 and SQL Server 2019
Protect query performance during upgrades to newer versions of SQL Server
Contents
Preface
Section 1: Query Processing Fundamentals
Chapter 1: Anatomy of a Query
Chapter 2: Understanding Query Processing
Chapter 3: Mechanics of the Query Optimizer
Section 2: Dos and Donts of T-SQL
Chapter 4: Exploring Query Execution Plans
Chapter 5: Writing Elegant T-SQL Queries
Chapter 6: Easily-ldentified T-SQL Anti-Patterns
Chapter 7: Discovering T-SQL Anti-Patterns in Depth
Section 3: Assemble Your Query Troubleshooting Toolbox
Chapter 8: Building Diagnostic Queries Using DMVs and DMFs
Chapter 9: Building XEvent Profiler Traces
Chapter 10: Comparative Analysis of Query Plans
Chapter 11: Tracking Performance History with Query Store
Chapter 12: Troubleshooting Live Queries
Chapter 13: Managing Optimizer Changes with the Query Tuning Assistant
Other Books You May Enjoy
Index

相关文件下载地址

下载地址 Download解决验证以访问链接!
打赏
未经允许不得转载:finelybook » Learn T-SQL Querying: A guide to developing efficient and elegant T-SQL code

评论 抢沙发

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫