Corporate HomeCorporate ProfileWorldwide OfficesSolutions At WorkEmployment  
LRS Education Services
LEARN  >  Find a Class  >  Class Summary

MS2784 - Tuning and Optimizing Queries using MS SQL Server 2005

If you have any questions about registering for this class, please call (877) 832-0688 Ext. 1493 or email us at
This workshop provides database developers working in enterprise environments using Microsoft SQL Server 2005 the knowledge and skills to evaluate and improve queries and query response times. The workshop focuses on systematic identification and optimization of database factors that impact query performance.
Click here for a printer-friendly version of this page.
This course has not been scheduled yet. Please contact us by clicking the link below to learn about availability.
Contact us for additional availability.


Before attending this course, students must: Have working knowledge of data storage. Specifically, knowledge about row layout, fixed length field placement and varying length field placement. Be familiar with index structures and index utilization. Specifically, they must understand the interaction between non-clustered indexes, clustered indexes and heaps. They must know why a covering index can improve performance. Have had hands-on database developer experience. Specifically, three years of experience as a full-time database developer in an enterprise environment. Be familiar with the locking model. Specifically, students should have an understanding of lock modes, lock objects and isolation levels and be familiar with process blocking. Understand Transact-SQL syntax and programming logic. Specifically, students should be completely fluent in advanced queries, aggregate queries, subqueries, user-defined functions, cursors, control of flow statements, CASE expressions,
Detailed Class Syllabus

Measuring Database Performance
  • Importance of Benchmarking

  • Key Measures for Query Performance: Sysmon

  • Key Measures for Query Performance: Profiler

  • Guidelines for Identifying Locking and Blocking

  • Lab: Measuring Database Performance

  • Optimizing Physical Database Design
  • Performance Optimization Model

  • Schema Optimization Strategy: Keys

  • Schema Optimization Strategy: Responsible Denormalization

  • Schema Optimization Strategy: Generalization

  • Lab: Optimizing Schemas

  • Optimizing Queries for Performance
  • Performance Optimization Model: Queries

  • What Is Query Logical Flow?

  • Considerations for Using Subqueries

  • Guidelines for Building Efficient Queries

  • Lab: Optimizing Queries

  • Refactoring Cursors into Queries
  • Performance Optimization Model: Query-Set-based solutions

  • Five Steps to Building a Cursor

  • Strategies for Refactoring Cursors

  • Lab: Refactoring Cursors into Queries

  • Optimizing an Indexing Strategy
  • Performance Optimization Model: Indexes

  • Considerations for Using Indexes

  • Best Uses of the Clustered Index

  • Best Practices for Non-Clustered Index Design

  • How to Document an Indexing Strategy

  • Lab: Optimizing an Indexing Strategy

  • Managing Concurrency
  • Performance Optimization Model: Locking and Blocking

  • Multimedia - "How to Use Efficient Queries to Reduce Locking and Blocking"

  • Strategies to Reduce Locking and Blocking

  • Lab: Reducing Blocking
    Microsoft Partner Gold LearningPearson VUE Authorized Test CenterEC-Council