|
|
|
Course ID: 21518
| Course Duration: 5 Days
|
|
Course Dates:
|
| |
|
| |
SQL Server 2005 Tuning, Optimization, and Troubleshooting Training Class
Course ID: 21518
|
|
| |
|
|
| |
|
|
| |
SQL Server 2005 Tuning, Optimization, and Troubleshooting Training Seminar
In this intensive instructor-led workshop, database developers who work in enterprise environments and use Microsoft SQL Server 2005 will gain the knowledge and skills to evaluate and improve queries and query response times as well as to understand the overall process of troubleshooting. In the workshop, students will focus on systematic identification and optimization of database factors that impact query performance, establishing monitoring standards and baselines, determining performance thresholds, and focusing the investigation on specific issues. This course incorporates material from the following Official Microsoft Learning Products: 2784: Implementing a Microsoft SQL Server 2005 Database 2790: Troubleshooting and Optimizing Database Servers Using Microsoft SQL Server 2005 Prerequisites: Familiar with SQL Server 2005 features, tools, and technologies Microsoft Certified Technology Specialist: Microsoft SQL Server 2005 credential or equivalent experience Working knowledge of data storage, specifically, knowledge about row layout, fixed-length field placement, and varying-length field placement. Familiarity with index structures and index utilization, specifically, an understanding of the interaction between non-clustered indexes, clustered indexes, and heaps and why a covering index can improve performance At least three years of experience as a full-time database developer in an enterprise environment Familiar with the locking model, including an understanding of lock modes, lock objects, and isolation levels and familiarity with process blocking Understand Transact-SQL syntax and programming logic, specifically, be completely fluent in advanced queries, aggregate queries, subqueries, user-defined functions, cursors, control of flow statements, CASE expressions, and all types of
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
Agenda |
|
| |
1. Measuring Database Performance
This unit provides students with an opportunity to measure database performance and identify database performance bottlenecks. Students will use a sample script to identify performance and concurrency problems, capture baseline performance, and prioritize identified problems for optimization.
- Importance of Benchmarking
- Key Measures for Query Performance: Sysmon
- Key Measures for Query Performance: Profiler
- Guidelines for Identifying Locking and Blocking
2. Optimizing Physical Database Design
In this unit, students work with strategies for optimizing physical database design. Students will optimize a database schema using normalization, generalization, and denormalization.
- Performance Optimization Model
- Schema Optimization Strategy: Keys
- Schema Optimization Strategy: Responsible Denormalization
- Schema Optimization Strategy: Generalization
3. Optimizing Queries for Performance
In this unit students experience optimizing and tuning queries to improve performance. In the lab, students will optimize stored procedures, views, and non-cursor aggregate queries to improve database performance and user experience. Each query that is optimized improves the overall system because the query will use fewer resources, freeing up those resources for other queries and reducing the amount of locking done by the query. The domino effect is profound.
- Performance Optimization Model: Queries
- What Is Query Logical Flow?
- Considerations for Using Subqueries
- Guidelines for Building Efficient Queries
4. Refactoring Cursors into Queries
In this unit, students will work with strategies for refactoring cursors into queries. In the lab, students will work to optimize a database by replacing slow iterative code with faster set-based code.
- Performance Optimization Model: Query-Set-Based Solutions
- Five Steps to Building a Cursor
- Strategies for Refactoring Cursors
5. Optimizing an Indexing Strategy
In this unit, students will work on optimizing indexing strategies. Students will work with a given database to add and delete indexes by providing the optimum bridge between the query and the data without any redundancies.
- 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
6. Managing Concurrency
This unit provides students with the opportunity to work with concurrency management. Students will look for concurrency issues and then solve them by optimizing transactions and adjusting the transaction isolation level.
- Performance Optimization Model: Locking and Blocking
- Multimedia: "How to Use Efficient Queries to Reduce Locking and
Blocking" - Strategies to Reduce Locking and Blocking
7. Building a Monitoring Solution for SQL Server Performance Issues
This unit provides an opportunity for the student to build a monitoring solution that will help to identify SQL Server performance issues. Students will design a baseline performance monitoring solution.
- 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
8. Troubleshooting Database and Database Server Performance Issues
This unit provides an opportunity for students to troubleshoot SQL Server performance issues. Students analyze the sample monitoring output to determine the issue. This unit includes information on 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.
- Narrowing Down a Performance Issue to a Database Object
- How Profiler Can Help Narrow a Search to a Specific Issue
- How the SQLdiag Tool Can Be Used to Analyze Outputs
9. Optimizing the Query Performance Environment
This unit gives students an opportunity to determine the database-level reasons for poor query performance, such as bad indexes and outdated index column statistics. Students are provided with samples from a Profiler trace or a listing of poorly performing queries and directed to investigate possible reasons.
- The Methodology of Optimizing a Query Environment
- The Query Performance Troubleshooting Process
10. 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.
- The Methodology of Troubleshooting SQL Server Connectivity Issues
- Areas to Troubleshoot for Common Connectivity Issues
- What Are SQL Server 2005 Endpoints?
11. Troubleshooting SQL Server Data Issues
This unit lets students troubleshoot issues at a data level. One exercise will be used to identify and recover a torn page. The second exercise is a business unit report which contains invalid data. The goal is for the Database Administrator to track down the reasons for the invalid data.
- 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
12. Troubleshooting SQL Server Data Concurrency Issues
This module lets the students identify the offending objects that cause concurrency issues. The first exercise shows students how to determine stored procedures involved in a deadlocked situation. The second exercise shows students how to determine the source of a blocking issue. The third exercise shows students how to evaluate wait types and latches.
- The Methodology of Troubleshooting Concurrency Issues
- What Are SQL Server Latches?
- Activity: Choosing a Blocking Monitoring Solution
|
|
| |
|
|
|
| |
|
|
| |
Audience |
|
| |
Current professional database developers and administrators who have three or more years of on-the-job experience developing SQL Server database solutions in an enterprise environment
|
|
|
| |
|
|
| |
Pre-requisites |
|
| |
See Course Description.
|
|
|
|
| |
|
|
|
|
| |
|
|
| |
|
|
|
| |
| |
|
| |
SQL Server 2005 Tuning, Optimization, and Troubleshooting Training Course Dates and Locations
|
|
| |
|
|
| |
Course ID: 21518
| Course Duration: 5 Days
|
|
| |
|
|
| |
Locations: |
|
| |
|
|
| |
Gift card when you register today!
|
|
| |
|
|
| |
| Start Date |
Price |
|
Location/Event Details |
Register Online |
Request More Info |
|
Print/Fax Register |
|
|
| |
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
| |
|
|
| |
Select a market segment to view more courses
|
|
| |
|
|
| |
Or, select a category to view more courses
|
|
| |
|
|
| |
Browse By Category
Browse By Location
Browse New Courses
|
|
| |
|
|
|
| |
| |
|
|
|
|
| |
|
|
|
| |

|
|
|
|