SQL Server Execution Plans, 3rd Edition

简介:
如果一个查询的性能很差,你不明白为什么,那么该查询的执行计划将不仅告诉你什么数据集正在返回,还告诉你SQL Server做了什么,以及以什么顺序获取这些数据。它将揭示如何检索数据,以及从哪些表和索引,使用了什么类型的连接,在什么点进行筛选,排序和聚合,以及更多。这些细节通常会突出任何问题的可能来源。本书的唯一目标是教你如何阅读SQL Server执行计划。除其他事项外,它将解释以下内容:
如何使用手动和自动方法捕获执行计划一种用于读取和解释执行计划的文档化方法常见的SQL Server对象 (如索引、视图、存储过程等) 在执行计划中的显示方式如何使用提示和计划指南来控制执行计划,以及为什么这是一把双刃剑查询存储如何使用执行计划并收集有关执行计划的数据
有了这些知识,您将拥有读取执行计划所需的一切,对于您自己的任何查询,无论复杂性如何,并了解它的作用以及导致性能不佳的原因。你的工作仍然是如何最好地解决它,但你对执行计划的新理解将会给你一个更好的成功机会!
英文简介:
If a query is performing poorly, and you can't understand why, then that query's execution plan will tell you not only what data set is coming back, but also what SQL Server did, and in what order, to get that data. It will reveal how the data was retrieved, and from which tables and indexes, what types of joins were used, at what point filtering, sorting and aggregation occurred, and a whole lot more. These details will often highlight the likely source of any problem.
This book has the singular goal of teaching you how to read SQL Server Execution plans. It will explain, among many other things, the following:
How to capture execution plans using manual and automatic methodsA documented method for reading and interpreting execution plansHow common SQL Server objects, such as indexes, views, stored procedures, and so on, appear in execution plansHow to control execution plans with hints and plan guides, and why this is a double-edged swordHow the Query Store works with, and collects data on, execution plans
With this knowledge, you'll have everything you need to read the execution plan, for any query of your own, regardless of complexity, and understand what it does and what is causing the bad performance. It is still your job to work out how best to fix it, but your new understanding of execution plans will give a much better chance of success!
- 书名
- SQL Server Execution Plans, 3rd Edition
- 译名
- SQL Server 执行计划,第三版
- 语言
- 英语
- 年份
- 2012
- 页数
- 333页
- 大小
- 15.75 MB
- 标签
- SQL
- 下载
SQL Server Execution Plans, 3rd Edition.pdf
- 密码
- 65536
最后更新:2025-04-12 23:57:35
←Transact-SQL: The Building Blocks to SQL Server Programming
→SQL Server Concurrency: Locking, Blocking and Row Versioning