Please contact us
for GSA pricing.

Contract #

Please see our complete list of Microsoft Official Courses

SQL Server 2008 Training: SQL Server 2008 Performance Tuning

Course Number: SQL-204
Duration: 3 days
view course outline

SQL Server 2008 Training Overview

Accelebrate’s SQL Server 2008 Performance Tuning training class teaches attendees how to tune their indexes, database engine, queries, and other features to achieve optimal performance. Note: This course can also be taught using SQL Server 2008 R2. It is designed for administrators, rather than developers, who are new to tuning SQL Server 2008.

Location and Pricing

Most Accelebrate courses are delivered as private, customized, on-site training at our clients' locations worldwide for groups of 3 or more attendees and are custom tailored to their specific needs. Please visit our client list to see organizations for whom we have delivered private in-house training. These courses can also be delivered as live, private online classes for groups that are geographically dispersed or wish to save on the instructor's or students' travel expenses. To receive a customized proposal and price quote for private training at your site or online, please contact us.

In addition, some courses are available as live, online classes for individuals. See a schedule of online courses.

SQL Server 2008 Training Prerequisites

This course is designed for SQL Server administrators who have prior SQL query writing experience but are relatively new to tuning SQL Server. This course assumes an existing understanding of relational database concepts and general SQL Server administration topics. If your audience has substantial prior SQL Server tuning experience, this course is not recommended.

Hands-on/Lecture Ratio

Due to the theory required to implement many of the performance tuning practices, the first 2.5 days of this SQL Server training is 75% lecture, 25% hands-on, with the longest lecture segments lasting for 60 minutes. If desired, the last half-day is spent tuning and troubleshooting your databases and queries.

SQL Server 2008 Training Materials

All attendees receive a copy of APress's SQL Server 2008 Query Performance Tuning Distilled (from which the course outline is derived), as well as related course materials.

Software Needed on Each Student PC

  • Windows XP or later, or Windows Server 2003 or later, with the latest service pack updates and at least 3 GB RAM
  • A full installation of the SQL Server 2008 or 2008 R2 database engine with the latest service packs installed, as well as all client tools
  • Related sample databases and lab files that Accelebrate will provide
  • If you have purchased this course, please contact us for detailed setup instructions.

SQL Server 2008 Training Objectives

  • Use Windows Performance Monitor
  • Create a performance baseline
  • Analyze SQL Server Profiler traces
  • Analyze the performance of SQL queries
  • Analyze and optimize indexes
  • Use the Database Tuning Advisor
  • Examine and correct fragmentation
  • Review execution plans and the execution plan cache for optimizations
  • Analyze the performance of SQL queries
  • Design more efficient queries
  • Detect and reduce or eliminate blocking
  • Catch and solve deadlocks
  • Optimize database workloads

SQL Server 2008 Training Outline

  • Performance Tuning Overview
    • The Performance-Tuning Process
    • Performance vs. Price
    • Performance Baseline
    • Where to Focus Efforts
    • SQL Server Performance Killers
  • System Performance Analysis
    • Performance Monitor Tool
    • Dynamic Management Views
    • Hardware Resource Bottlenecks
    • Memory Bottleneck Analysis
    • Memory Bottleneck Resolutions
    • Disk Bottleneck Analysis
    • Disk Bottleneck Resolutions
    • Processor Bottleneck Analysis
    • Processor Bottleneck Resolutions
    • Network Bottleneck Analysis
    • Network Bottleneck Resolutions
    • SQL Server Overall Performance
    • Creating a Baseline
    • System Behavior Analysis Against Baseline
  • SQL Query Performance Analysis
    • The SQL Profiler Tool
    • Trace Automation
    • Combining Trace and Performance Monitor Output
    • SQL Profiler Recommendations
    • Query Performance Metrics Without Profiler
    • Costly Queries
    • Execution Plans
    • Query Cost
  • Index Analysis
    • What Is an Index?
    • Index Design Recommendations
    • Clustered Indexes
    • Nonclustered Indexes
    • Clustered vs. Nonclustered Indexes
    • Advanced Indexing Techniques
    • Special Index Types
    • Additional Characteristics of Indexes
  • Database Engine Tuning Advisor
    • Database Engine Tuning Advisor Mechanisms
    • Database Engine Tuning Advisor Examples
    • Database Engine Tuning Advisor Limitations
  • Bookmark Lookup Analysis
    • Purpose of Bookmark Lookups
    • Drawbacks of Bookmark Lookups
    • Analyzing the Cause of a Bookmark Lookup
    • Resolving Bookmark Lookups
  • Statistics Analysis
    • The Role of Statistics in Query Optimization
    • Statistics on an Indexed Column
    • Statistics on a Nonindexed Column
    • Analyzing Statistics
    • Statistics Maintenance
    • Analyzing the Effectiveness of Statistics for a Query
    • Recommendations
  • Fragmentation Analysis
    • Causes of Fragmentation
    • Fragmentation Overhead
    • Analyzing the Amount of Fragmentation
    • Fragmentation Resolutions
    • Significance of the Fill Factor
    • Automatic Maintenance
  • Execution Plan Cache Analysis
    • Execution Plan Generation
    • Execution Plan Caching
    • Components of the Execution Plan
    • Aging of the Execution Plan
    • Analyzing the Execution Plan Cache
    • Execution Plan Reuse
    • Query Plan Hash and Query Hash
    • Execution Plan Cache Recommendations
  • Stored Procedure Recompilation
    • Benefits and Drawbacks of Recompilation
    • Identifying the Statement Causing Recompilation
    • Analyzing Causes of Recompilation
    • Avoiding Recompilations
  • Query Design Analysis
    • Query Design Recommendations
    • Operating on Small Result Sets
    • Using Indexes Effectively
    • Avoiding Optimizer Hints
    • Using Domain and Referential Integrity
    • Avoiding Resource-Intensive Queries
    • Reducing the Number of Network Round-Trips
    • Reducing the Transaction Cost
  • Blocking Analysis
    • Blocking Fundamentals
    • Understanding Blocking
    • Database Locks
    • Isolation Levels
    • Effect of Indexes on Locking
    • Capturing Blocking Information
    • Blocking Resolutions
    • Recommendations to Reduce Blocking
    • Automation to Detect and Collect Blocking Information
  • Deadlock Analysis
    • Deadlock Fundamentals
    • Using Error Handling to Catch a Deadlock
    • Deadlock Analysis
    • Avoiding Deadlocks
  • Cursor Cost Analysis
    • Cursor Fundamentals
    • Cursor Cost Comparison
    • Default Result Set
    • Analyzing SQL Server Overhead with Cursors
    • Cursor Recommendations
  • Database Workload Optimization
    • Workload Optimization Fundamentals
    • Workload Optimization Steps
    • Capturing the Workload
    • Analyzing the Workload
    • Identifying the Costliest Query
    • Determining the Baseline Resource Use of the Costliest Query
    • Analyzing and Optimizing External Factors
    • Analyzing the Internal Behavior of the Costliest Query
    • Optimizing the Costliest Query
    • Analyzing the Effect on Database Workload
    • Iterating Through Optimization Phases
  • Conclusion