Microsoft SQL Server 2012 Performance Tuning Cookbook


Microsoft SQL Server 2012 Performance Tuning Cookbook
eBook: $35.99
Formats: PDF, PacktLib, ePub and Mobi formats
$30.59
save 15%!
Print + free eBook + free PacktLib access to the book: $95.98    Print cover: $59.99
$59.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • Learn about the performance tuning needs for SQL Server 2012 with this book and ebook
  • Diagnose problems when they arise and employ tricks to prevent them
  • Explore various aspects that affect performance by following the clear recipes

Book Details

Language : English
Paperback : 478 pages [ 235mm x 191mm ]
Release Date : July 2012
ISBN : 1849685746
ISBN 13 : 9781849685740
Author(s) : Ritesh Shah, Bihag Thaker
Topics and Technologies : All Books, Enterprise Products and Platforms, Microsoft Servers, Cookbooks, Enterprise, Microsoft

Table of Contents

Preface
Chapter 1: Mastering SQL Trace Using Profiler
Chapter 2: Tuning with Database Engine Tuning Advisor
Chapter 3: System Statistical Functions, Stored Procedures, and the DBCC SQLPERF Command
Chapter 4: Resource Monitor and Performance Monitor
Chapter 5: Monitoring with Execution Plans
Chapter 6: Tuning with Execution Plans
Chapter 7: Dynamic Management Views and Dynamic Management Functions
Chapter 8: SQL Server Cache and Stored Procedure Recompilations
Chapter 9: Implementing Indexes
Chapter 10: Maintaining Indexes
Chapter 11: Points to Consider While Writing Queries
Chapter 12: Statistics in SQL Server
Chapter 13: Table and Index Partitioning
Chapter 14: Implementing Physical Database Structure
Chapter 15: Advanced Query Tuning Hints and Plan Guides
Chapter 16: Dealing with Locking, Blocking, and Deadlocking
Chapter 17: Configuring SQL Server for Optimization
Chapter 18: Policy-based Management
Chapter 19: Resource Management with Resource Governor
Index
          • Chapter 5: Monitoring with Execution Plans
            • Introduction
            • Working with estimated execution plan
            • Working with actual execution plan
            • Monitoring performance of a query by SET SHOWPLAN_XML
            • Monitoring performance of a query by SET STATISTICS XML
            • Monitoring performance of a query by SET STATISTICS IO
            • Monitoring performance of a query by SET STATISTICS TIME
            • Including and understanding client statistics
            • Chapter 6: Tuning with Execution Plans
              • Introduction
              • Understanding Hash, Merge, and Nested Loop Join strategies
              • Finding table/index scans in execution plan and fixing them
              • Introducing Key Lookups, finding them in execution plans, and resolving them
                  • Chapter 9: Implementing Indexes
                    • Introduction
                    • Increasing performance by creating a clustered index
                    • Increasing performance by creating a non-clustered index
                    • Increasing performance by covering index
                    • Increasing performance by including columns in an index
                    • Improving performance by a filtered index
                    • Improving performance by a columnstore index
                    • Chapter 10: Maintaining Indexes
                      • Introduction
                      • Finding fragmentation
                      • Playing with Fill Factor
                      • Enhance index efficiency by using the REBUILD index
                      • Enhance index efficiency by using the REORGANIZE index
                      • How to find missing indexes
                      • How to find unused indexes
                      • Enhancing performance by creating an indexed view
                      • Enhancing performance with index on Computed Columns
                      • Determining disk space consumed by indexes
                      • Chapter 11: Points to Consider While Writing Queries
                        • Introduction
                        • Improving performance by limiting the number of columns and rows
                        • Improving performance by using sargable conditions
                        • Using arithmetic operator wisely in predicate to improve performance
                        • Improving query performance by not using functions on predicate columns
                        • Improving performance by Declarative Referential Integrity (DRI)
                        • "Trust" your foreign key to gain performance
                        • Chapter 12: Statistics in SQL Server
                          • Introduction
                          • Creating and updating statistics
                          • Effects of statistics on non-key column
                          • Find out-of-date statistics and get it correct
                          • Effect of statistics on a filtered index
                          • Chapter 13: Table and Index Partitioning
                            • Introduction
                            • Partitioning a table with RANGE LEFT
                            • Partitioning a table with RANGE RIGHT
                            • Deleting and loading bulk data by splitting, merging, and switching partitions (sliding window)
                            • Chapter 14: Implementing Physical Database Structure
                              • Introduction
                              • Configuring data file and log file on multiple physical disks
                              • Using files and filegroups
                              • Moving the existing large table to separate physical disk
                              • Moving non-clustered indexes on separate physical disk
                              • Configuring the tempdb database on separate physical disk

                                        Ritesh Shah

                                        Ritesh Shah is a data professional and has 10+ years of experience in Microsoft technology from SQL Server 2000 to the latest one and has worked from Visual Basic 6.0 to .NET Framework 4.0. He has deployed many medium scale as well as large scale projects using Microsoft technology. He shares his knowledge in his blog SQLHub.com and also helps the community in different portals like BeyondRelational.com, Experts-Exchange.com and Asp.Net forums.

                                        Bihag Thaker

                                        Bihag Thaker is an SQL Server enthusiast, an MCTS (SQL Server 2005) and MCITP (SQL Server 2008) who has been working on SQL Server technology for the last few years. Initially he was into .Net technology, but his keen interest in 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.
                                        Sorry, we don't have any reviews for this title yet.

                                        Code Downloads

                                        Download the code and support files for this book.


                                        Submit Errata

                                        Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                                        Sample chapters

                                        You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                                        Frequently bought together

                                        Microsoft SQL Server 2012 Performance Tuning Cookbook +    Governance, Risk, and Compliance Handbook for Oracle Applications =
                                        50% Off
                                        the second eBook
                                        Price for both: $56.24

                                        Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                                        What you will learn from this book

                                        • Monitoring SQL Server Performance with Profiler, Execution Plan, and system statistical function
                                        • Finding performance bottleneck with the help of Resource Monitor and DTA
                                        • Creating and Managing Indexes efficiently to boost performance
                                        • Creating and Managing Partition efficiently
                                        • Managing database files efficiently
                                        • Planning Guide and Query Hints
                                        • Dealing with locking, blocking, and deadlocking
                                        • Configuring SQL Server instance option for achieving performance benefit
                                        • Managing Performance with Policy based management and Resource Governor

                                        In Detail

                                        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.

                                        Approach

                                        This book has individual recipes and you can read it from cover to cover or dip into any recipe and get solution to a specific issue. Every recipe is based on a script/procedure explained with step-by-step instructions and screenshots. Concepts are illustrated for better understanding of why one solution performs better than another.

                                        Who this book is for

                                        SQL Server 2012 Performance Tuning Cookbook is aimed at SQL Server Database Developers, DBAs, and Database Architects who are working in any capacity to achieve optimal performance. However, basic knowledge of SQL Server is expected, but professionals who want to get hands-on with performance tuning and have not worked on tuning the SQL Server for performance will find this book helpful.

                                        Code Download and Errata
                                        Packt Anytime, Anywhere
                                        Register Books
                                        Print Upgrades
                                        eBook Downloads
                                        Video Support
                                        Contact Us
                                        Awards Voting Nominations Previous Winners
                                        Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                                        Resources
                                        Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software