2
You Will Learn: • Design and Normalize databases • Manage concurrency by selecting the appropriate transaction isolation level • Select a locking granularity level • Optimize and tune queries for performance • Optimize an indexing strategy • Decide when cursors are appropriate • Identify and resolve performance-limiting problems Who Should Attend: • IT Professionals, inexperienced DBAs (database administrator) • IT Professionals in database developer roles with three (3) or more years’ experience with SQL Server who are seeking to enhance the performance of their queries Dell Training Services MS 2784: Tuning and Optimizing Queries Using Microsoft SQL Server 2005 MS 2784: Tuning and Optimizing Queries Using Microsoft SQL Server 2005 is a three-day course that 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. COURSE DETAILS: GET MORE OUT OF YOUR TECHNOLOGY INVESTMENT. GET MORE OUT OF NOW. Visit www.LearnDell.com for more information. Module 1: 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 1: Measuring Database Performance •Reviewing Tables and Scripts •Determining Performance Baselines •Prioritizing Identified Problems Module 2: Optimizing Physical Database Design •Performance Optimization Model •Schema Optimization Strategy: Keys •Schema Optimization Strategy: Responsible Denormalization •Schema Optimization Strategy: Generalization Lab 2: Optimizing Schemas •Optimizing Memberships •Optimizing Events •Normalizing Event Sponsorships •Denormalizing Membership Visits •Cleaning Up Schema •Adapting the Solution to the New Database Schema •Determining Performance Module 3: Optimizing Queries for Performance •Performance Optimization Model: Queries •What Is Query Logical Flow? •Considerations for Using Subqueries •Guidelines for Building Efficient Queries Lab 3: Optimizing Queries •Optimizing and Rewriting Slow Performing Stored Procedures •Optimizing and Rewriting Slow Performing Views •Optimizing and Rewriting Slow Performing Non-Cursor Aggregate Queries •Determining Performance Module 4: Refactoring Cursors into Queries •Performance Optimization Model: Query-Set-based solutions •Five Steps to Building a Cursor •Strategies for Refactoring Cursors Lab 4: Refactoring Cursors into Queries •Refactoring the pMembershipCategory Cursor •Refactoring the pCommunityImpact Cursor •Refactoring the pMemberInvitation Cursor •Determining Performance

Dell Training Services MS 2784: Tuning and Optimizing ... · • Have had hands-on database developer experience • Be familiar with the locking model • Transact-SQL for Microsoft

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Dell Training Services MS 2784: Tuning and Optimizing ... · • Have had hands-on database developer experience • Be familiar with the locking model • Transact-SQL for Microsoft

You Will Learn:

•DesignandNormalizedatabases

•Manageconcurrencybyselectingtheappropriatetransactionisolationlevel

•Selectalockinggranularitylevel

•Optimizeandtunequeriesforperformance

•Optimizeanindexingstrategy

•Decidewhencursorsareappropriate

•Identifyandresolveperformance-limitingproblems

Who Should Attend:

•ITProfessionals,inexperiencedDBAs(databaseadministrator)

•ITProfessionalsindatabasedeveloperroleswiththree(3)ormoreyears’experiencewithSQLServerwhoareseekingtoenhancetheperformanceoftheirqueries

Dell Training Services

MS 2784: Tuning and Optimizing Queries Using Microsoft SQL

Server 2005

MS2784:TuningandOptimizingQueriesUsingMicrosoftSQLServer2005isathree-daycoursethatprovidesdatabasedevelopersworkinginenterpriseenvironmentsusingMicrosoftSQLServer2005theknowledgeandskillstoevaluateandimprovequeriesandqueryresponsetimes.Theworkshopfocusesonsystematicidentificationandoptimizationofdatabasefactorsthatimpactqueryperformance.

courSe detAiLS:

Get More out oF Your technoLoGY inveStMent. Get More out oF noW.

visit www.Learndell.com for more information.

Module 1: Measuring database Performance•ImportanceofBenchmarking•KeyMeasuresforQueryPerformance:Sysmon•KeyMeasuresforQueryPerformance:Profiler•GuidelinesforIdentifyingLockingandBlocking

Lab 1: Measuring database Performance•ReviewingTablesandScripts•DeterminingPerformanceBaselines•PrioritizingIdentifiedProblems

Module 2: optimizing Physical database design•PerformanceOptimizationModel•SchemaOptimizationStrategy:Keys•SchemaOptimizationStrategy:ResponsibleDenormalization•SchemaOptimizationStrategy:Generalization

Lab 2: optimizing Schemas•OptimizingMemberships•OptimizingEvents•NormalizingEventSponsorships•DenormalizingMembershipVisits•CleaningUpSchema•AdaptingtheSolutiontotheNewDatabaseSchema•DeterminingPerformance

Module 3: optimizing Queries for Performance•PerformanceOptimizationModel:Queries•WhatIsQueryLogicalFlow?•ConsiderationsforUsingSubqueries•GuidelinesforBuildingEfficientQueries

Lab 3: optimizing Queries•OptimizingandRewritingSlowPerformingStoredProcedures•OptimizingandRewritingSlowPerformingViews•OptimizingandRewritingSlowPerformingNon-CursorAggregateQueries•DeterminingPerformance

Module 4: refactoring cursors into Queries•PerformanceOptimizationModel:Query-Set-basedsolutions•FiveStepstoBuildingaCursor•StrategiesforRefactoringCursors

Lab 4: refactoring cursors into Queries•RefactoringthepMembershipCategoryCursor•RefactoringthepCommunityImpactCursor•RefactoringthepMemberInvitationCursor•DeterminingPerformance

Page 2: Dell Training Services MS 2784: Tuning and Optimizing ... · • Have had hands-on database developer experience • Be familiar with the locking model • Transact-SQL for Microsoft

GET MORE OUT OF YOUR TECHNOLOGY INVESTMENT. GET MORE OUT OF NOW.

Pricing, specifications, availability, and terms of offers may change without notice. Taxes, fees, shipping, handling and any applicable restocking charges are extra, and vary. Training Services new purchases only. Dell cannot be responsible for pricing or other errors,and reserves the right to cancel orders arising from such errors. Dell, and the Dell logo are trademarks of Dell Inc. Other trademarks and trade names may be used in this document to refer to either the entities claiming the marks and names or their products. Delldisclaims proprietary interest in the marks and names of others. Printed in U.S.A. © Copyright 2006 Dell Inc. All rights reserved. Reproduction in any manner whatsoever without the express written permission of Dell Inc. is strictly forbidden.

Course Length:

• Three days

Recommended Prerequisites:

• Have working knowledge of data storage and havebasic knowledge of the operating system andplatform

• Be familiar with index structures and index utilization

• Have had hands-on database developer experience

• Be familiar with the locking model

• Transact-SQL for Microsoft SQL Server 2005 andunderstand Transact-SQL syntax and programming

• Be able to design a database to third normal form(3NF) and know the trade offs when backing outof the fully normalized design (denormalization) anddesigning for performance and business requirementsin addition to being familiar with design models, suchas Star and Snowflake schemas

The following classes fulfill many of the prerequisiteslisted above, and it is strongly recommended thatstudents have completed them:

• Course 2779, Implementing a Microsoft SQL Server2005 Database

• Course 2780, Maintaining a Microsoft SQL Server 2005 Database

PRICING:

Delivery Method SKU PriceInstructor-led at customer location 986-1909 $13,759.00

To learn more about Dell Training & Certification, contact your Dell Account Executive or any of the following:Website: www.LearnDell.comEmail: [email protected]: 1-866-360-3506 (US & Canada only)

COURSE DETAILS:

Module 5: Optimizing an IndexingStrategy• 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 5: Optimizing an Indexing Strategy• Identifying Tables to Optimize• Designing Indexes• Determining Performance

Module 6: 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 6: Reducing Blocking• Identifying Code with Locking and Blocking Issues• Reducing Concurrency Issues• Determining Final Performance

Instructor-Led Training Includes:

Microsoft Official Course (MOC) courseware, including:

• A workbook with all the lecture and lab materials

• A CD containing additional reading, answers to labs, and lab setup files