Course Ref: 42885

Course: MS2790 Troubleshooting and Optimizing Database Servers Using Microsoft SQL Server 2005

Course Summary

Elements of this syllabus are subject to change.

The purpose of this two-day workshop is to teach database administrators working in enterprise environments how to determine and troubleshoot performance issues using Microsoft SQL Server 2005. The primary focus of this workshop is to teach the overall process of troubleshooting. It includes learning how to establish monitoring standards and baselines, determining performance thresholds, and focusing the investigation on specific issues.

This course is intended for current professional database administrators who have three or more years of on-the-job experience administering SQL Server database solutions in an enterprise environment.

Course Outline

Unit 1: Building a Monitoring Solution for SQL Server Performance Issues

This unit provides an opportunity to the student to build a monitoring solution that will help to identify SQL Server performance issues. Students will use the tool provided to design a baseline performance monitoring solution.

Lessons

• Narrowing Down a Performance Issue to an Environment Area.
• Guidelines for Monitoring Database Servers and Instances by Using Profiler and Sysmon.
• Guidelines for Auditing and Comparing Test Results.

Lab: Building a Monitoring Solution for SQL Server Performance Issues

• Building a Monitoring Solution for SQL Server Performance Issues.
• Implementing a Monitoring Solution.
• Auditing Monitoring Results to Identify Problem Areas.

After completing this unit, students will be able to:

• Explain the methodology of narrowing down a performance issue to a particular database environment area.
• Apply the guidelines for monitoring database servers and instances by using Profiler and Sysmon.
• Apply the guidelines for auditing and comparing test results.
• Determine which indicators to monitor.
• Implement a monitoring solution.
• Audit monitoring results to identify problem areas.


Unit 2: Troubleshooting Database and Database Server Performance Issues

This unit provides an opportunity for the students to troubleshoot SQL Server performance issues. Students analyze the sample monitoring output to determine the issue. This unit includes a new feature in SQL Server 2005 which allows students to automatically sync a Sysmon log and Profiler trace. It also allows students to load and perform analysis against a Profiler trace using SQL Server queries. Finally, it allows students to run SQLdiag.exe as an additional troubleshooting tool.

Lessons

• Narrowing Down a Performance Issue to a Database Object
• How the SQLdiag Tool Can Be Used to Analyze Outputs.

Lab: Troubleshooting Database and Database Server Performance Issues

• Analyzing Sysmon and Profiler Traces.
• Analyzing a Profiler Trace by Using SQL Server Queries.
• Determining Database Server Issues by Using SQLdiag.exe.

After completing this unit, students will be able to:

• Explain the methodology of narrowing down a performance issue to a particular database environment object.
• Explain the use of SQLdiag tool to analyze outputs.
• Explain the use of Profiler to narrow a troubleshooting search to a specific issue.
• Analyze Sysmon and Profiler traces.
• Analyze Profiler trace using SQL Server queries.
• Determine performance issues by using SQLdiag.exe.


Unit 3: Optimizing the Query Performance Environment

This unit gives an opportunity to the student to determine the database level reasons for poor query performance, like bad indexes and outdated index column statistics. Students are provided with samples from a Profiler trace or a listing of bad performing queries and directed to investigate possible reasons.

Lessons

• The Methodology of Optimizing a Query Environment.
• The Query Performance Troubleshooting Process.
• Use of Database Tuning Advisor to Troubleshoot the Query Environment.

Lab: Optimizing the Query Performance Environment

• Reviewing an Execution Plan for Clues to Poor Performance.
• Performing Index Analysis by Using the Database Tuning Advisor (DTA).

After completing this unit, students will be able to:

• Explain the methodology of optimizing the query environment.
• Describe the query performance troubleshooting process.
• Explain how Database Tuning Advisor can be used to troubleshoot the query environment.
• Review an execution plan for clues to poor performance.
• Perform index analysis by using DTA.


Unit 4: Troubleshooting SQL Server Connectivity Issues

This unit explains the troubleshooting of common SQL Server problems. Examples include DNS issues, network authentication issues, and SQL Server 2005 endpoint issues.

Lessons

• The Methodology of Troubleshooting SQL Server Connectivity Issues.
• Areas to Troubleshoot for Common Connectivity Issues.
• What Are SQL Server 2005 Endpoints?

Lab: Troubleshooting SQL Server Connectivity Issues

• Troubleshooting Server-Not-Found Issues.
• Troubleshooting an Authentication Error Message.
• Troubleshooting Endpoint Issues.

After completing this unit, students will be able to:

• Explain the methodology of troubleshooting connectivity issues.
• Describe the areas to audit for common connectivity issues.
• Explain the SQL Server 2005 endpoints.
• Troubleshoot Server-Not-Found issues.
• Troubleshoot an authentication error message.
• Troubleshoot endpoint issues.


Unit 5: Troubleshooting SQL Server Data Issues

This unit lets students troubleshoot issues at a data level. One exercise will be used to identify a torn page as well as to recover the torn page. The second exercise will be a business unit report which contains invalid data. The goal will be for the Database Administrator to track down the reasons for the invalid data.

Lessons

• The Methodology of Troubleshooting SQL Server Data Issues.
• The Process of Troubleshooting Data Integrity Issues.
• How Torn Pages Can Be Resolved using a Single-Page Restore.

Lab: Troubleshooting SQL Server Data Issues

• Troubleshooting and Repairing Torn Pages.
• Troubleshooting a Data Issue.

After completing this unit, students will be able to:

• Explain the methodology of troubleshooting data issues.
• Explain the process of troubleshooting data integrity issues.
• Explain how torn pages can be resolved using a single-page restore.
• Troubleshoot and repair torn pages.
• Troubleshoot data integrity issues.


Unit 6: Troubleshooting SQL Server Data Concurrency Issues

This module lets the students identify the offending objects that cause concurrency issues. The first exercise shows how to determine stored procedures involved in a deadlocked situation. The second exercise shows students how to determine the source of a blocking issue and the third exercise will show students how to evaluate wait types and latches.

Lessons

• The Methodology of Troubleshooting Concurrency Issues.
• What Are SQL Server Latches?
• Activity: Choosing a Blocking Monitoring Solution

Lab: Troubleshooting SQL Server Data Concurrency Issues

• Identifying the Objects Involved in a Deadlock.
• Identifying the Objects Involved in a Blocking Issue.
• Determining Concurrency Issues by Using Latch Wait Types.

After completing this unit, students will be able to:

• Explain the methodology of troubleshooting concurrency issues.
• Explain what latches are and how they can be useful in troubleshooting long wait times.
• Choose a blocking monitoring solution.
• Identify the objects involved in a deadlock issue.
• Identify the objects involved in a blocking issue.
• Determine concurrency issues by using latch wait types

Where & When

LocationLondon-City
Start Date16 Feb 09
Price (ex. VAT)£445.00
Venue Info London - Middlesex Street
ResidentialNo
AvailabilityLimited
Duration2 days
Delivered AsVenue and on-site
Exam IncludedNo
Course Ref42885