Book Image

Microsoft SQL Server 2012 Performance Tuning Cookbook

Book Image

Microsoft SQL Server 2012 Performance Tuning Cookbook

Overview of this book

As a DBA you must have encountered a slow running application on SQL Server, but there are various factors that could be affecting the performance. If you find yourself in this situation, don't wait, pick up this book and start working towards improving performance of your SQL Server 2012. SQL Server 2012 Performance Tuning Cookbook is divided into three major parts -- Performance Monitoring, Performance Tuning, and Performance Management--that are mandatory to deal with performance in any capacity. SQL Server 2012 Performance Tuning Cookbook offers a great way to manage performance with effective, concise, and practical recipes. You will learn how to diagnose performance issues, fix them, and take precaution to avoid common mistakes. Each recipe given in this book is an individual task that will address different performance aspects to take your SQL Server's Performance to a higher level.The first part of this book covers Monitoring with SQL Server Profiler, DTA, System statistical function, SPs with DBCC commands, Resource Monitor & Reliability, and Performance Monitor and Execution Plan. The second part of the book offers Execution Plan, Dynamic Management Views, and Dynamic Management Functions, SQL Server Cache and Stored Procedure Recompilations, Indexes, Important ways to write effective TSQL, Statistics, Table and Index Partitioning, Advanced Query tuning with Query Hints and Plan Guide, Dealing with Locking, Blocking and Deadlocking and Configuring SQL Server for optimization to boost performance.The third and final part gives you knowledge of performance management with help of Policy Based Management and Management with Resource Governor.
Table of Contents (28 chapters)
Microsoft SQL Server 2012 Performance Tuning Cookbook
Credits
About the Authors
Acknowledgement
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Index

Acknowledgement

It is really truer than ever that this is not an individual effort. The Packt team worked with me the whole time, so a really big thanks goes to them, especially Sai, Kedar, Apoorva, Madhuri, and many more. I cannot forget to mention Dhwani from the Packt team, as she is the one who presented the idea of this book to me. Seriously, I wouldn't have been able to author this book alone, so thanks should go to Mr. Bihag Thaker, as well, as he agreed to co-author this book with me and has worked even harder on it than I have myself.

I am really honored to have Satya, Michael, and Maria as the technical reviewers for this book. They are all well-known personalities in the world of SQL Server.

Apart from the team that worked on this book, I would also like to thank, on a personal note, two well-known personalities in the SQL Server community, who always inspire me to do more. In fact, they were the ones who diverted my interest from .NET technology to SQL Server. They are:

  • Pinal Dave, who blogs at SQLAuthority.com and is an author of several SQL Server books. Currently, he is working as a Technology Evangelist at Microsoft.

  • Jacob Sebastian, who blogs at BeyondRelational.com and is a SQL Server MVP, book author, well-known speaker in SQL Server technology, and much more.

Most important of all, my deepest gratitude goes to my parents, Mr. Ashwin Shah and Mrs. Divya Shah. It is because of their hard work, inspiration, and motivation that a small-town boy like me, who has grown up with very limited resources, has progressed so much in life, which in itself proves where there's a will there's a way. I would also like to thank my one-and-a-half-year-old son, Teerth, who used to often start crying at midnight, because of which I would lose my sleep and, not being able to get it back, started researching more on the subjects that helped me write this book. Finally, I would like to thank my wife, Alka Shah.

Bihag Thaker is a SQL Server enthusiast, an MCTS (SQL Server 2005), and an MCITP (SQL Server 2008), who has been working with SQL Server technology for the past few years. Initially he was into .Net technology, but his keen interest for SQL Server led him to be a database specialist.

He is currently working as a database administrator. He has worked on numerous performance tuning assignments and executed large-scale database migrations. He likes to share his knowledge and enjoys helping the SQL Server community. You will find him talking about SQL Server on his blog MsSQLBlog.com.