Microsoft SQL Server 2012 Performance Tuning Cookbook

Microsoft SQL Server 2012 Performance Tuning Cookbook (English, Paperback, Ritesh Shah)


Microsoft SQL Server 2012 Performance Tuning Cookbook  (English, Paperback, Ritesh Shah)

Be the first to Review this product
5% off
Hurry, Only 1 left!
  • Bank Offer5% Instant Discount on EMIs with Axis Bank Credit Card
  • Bank OfferExtra 5% off* with Axis Bank Buzz Credit Card
  • Delivery
    Enter pincode
      Usually delivered in4-5 days
      Enter pincode for exact delivery dates/charges
    View Details
    Read More
    • Language: English
    • Binding: Paperback
    • Publisher: Shroff Publisher
    • ISBN: 9789350238615, 9350238616
    • Edition: 2012
    • Pages: 428
    • 10 Days Replacement Policy
    • Cash on Delivery available
    • 10 Days Replacement Policy

    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.

    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.

    About the Author
    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 and also helps the community in different portals like, and Asp.Net forums.

    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

    Read More
    Book Details
    Publication Year
    • 2012
    Table of Contents
      • Preface

      Chapter 1: Mastering SQL Trace Using Profiler

      • Introduction
      • Creating a trace or workload
      • Filtering events
      • Detecting slow running and expensive queries
      • Creating trace with system stored procedures

      Chapter 2: Tuning with Database Engine Tuning Advisor

      • Introduction
      • Analyzing queries using Database Engine Tuning Advisor
      • Running Database Engine Tuning Advisor for workload
      • Executing Database Tuning Advisor from command prompt

      Chapter 3: System Statistical Functions, Stored Procedures, and the DBCC SQLPERF Command

      • Introduction
      • Monitoring system health using system statistical functions
      • Monitoring with system stored procedure
      • Monitoring log space usage statistics with DBCC command

      Chapter 4: Resource Monitor and Performance Monitor

      • Introduction
      • Monitoring of server performance
      • Monitoring CPU usage
      • Monitoring memory (RAM) usage

      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 7: Dynamic Management Views and Dynamic Management Functions

      • Introduction
      • Monitoring current query execution statistics
      • Monitoring index performance
      • Monitoring performance of TempDB database
      • Monitoring disk I/O statistics

      Chapter 8: SQL Server Cache and Stored Procedure Recompilations

      • Introduction
      • Monitoring compilations and recompilations at instance level using Reliability and Performance Monitor
      • Monitoring recompilations using SQL Server Profiler

      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

      Chapter 15: Advanced Query Tuning Hints and Plan Guides

      • Introduction
      • Using NOLOCK table query hint
      • Using FORCESEEK and INDEX table hint
      • Optimizing a query using an object plan guide
      • Implementing a fixed execution plan using SQL plan guide

      Chapter 16: Dealing with Locking, Blocking, and Deadlocking

      • Introduction
      • Determining long-running transactions
      • Detecting blocked and blocking queries
      • Detecting deadlocks with SQL Server Profiler
      • Detecting deadlocks with Trace Flag 1204
      • Chapter 17: Configuring SQL Server for Optimization
      • Introduction
      • Configuring SQL Server to use more processing power
      • Configuring memory in 32 bit versus. 64 bit
      • Configuring "Optimize for Ad hoc Workloads"
      • Optimizing SQL Server instance configuration

      Chapter 18: Policy-based Management

      • Introduction
      • Evaluating database properties
      • Restricting database objects

      Chapter 19: Resource Management with Resource Governor

      • Introduction
      • Configuring Resource Governor with SQL Server Management Studio
      • Configuring Resource Governor with T-SQL script
      • Monitoring Resource Governor


    • Ritesh Shah
    Have doubts regarding this product?
    Safe and Secure Payments.Easy returns.100% Authentic products.
    Back to top