![]() |
||||||||||||||
| Microsoft
Course 2784: Tuning & Optimizing Queries Using Microsoft SQL Server
2005 Course Length: 3 Days Audience This course is intended for current professional database developers who have three or more years of on-the-job experience developing SQL Server database solutions in an enterprise environment. Prerequisites 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. At Course CompletionAfter completing this course, students will be able to:
Design a normalized database. Optimize a database design by denormalizing.
Manage concurrency by selecting the appropriate transaction isolation level. Select a locking granularity level.
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. Topics • Importance of Benchmarking Lab: Measuring Database Performance • Reviewing Tables and Scripts After completing this unit, students will be able to: • Describe best practices for measuring performance. Unit 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. Topics • Performance Optimization Model Lab: Optimizing Schemas • Optimizing Memberships After completing this unit, students will be able to: • Explain the strategy for database optimization
presented in the Performance Optimization Model. Unit 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. Topics • Performance Optimization Model: Queries Lab: Optimizing Queries • Optimizing and Rewriting Slow Performing Stored
Procedures After completing this unit, students will be able to: • Explain the importance of set-based solutions
in database optimization. Unit 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. Topics • Performance Optimization Model: Query-Set-based
solutions Lab: Refactoring Cursors into Queries • Refactoring the pMembershipCategory Cursor After completing this unit, students will be able to: • Explain the importance of set-based solutions
in database optimization. Unit 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. Topics • Performance Optimization Model: Indexes Lab: Optimizing an Indexing Strategy • Identifying Tables to Optimize After completing this unit, students will be able to: • Explain the importance of optimizing index strategies
in database optimization. Unit 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. Topics • Performance Optimization Model: Locking and Blocking Lab: Reducing Blocking • Identifying Code with Locking and Blocking Issues After completing this unit, students will be able to: • Explain the importance of concurrency management
in database optimization.
|
||||||||||||||
One
Campbell Plaza, Suite 2B |