MS SQL Database Performance Tuning

MS SQL Database Performance Tuning 

 這堂課主要透過許多實際個案與上機練習了解 MS SQL database performance 的奧秘與調教技巧
超過12小時的上機實做,從 Query, Performance monitoring, Index, Execution plan, database configuration 等,測試並了解 MS SQL database performance tuning 的原理與步驟。
The learning objective is to identify MS SQL Database performance issue AND take tuning related actions. There are over 20+ hands Labs. In the end of the course, you will be able to answer:
  • Performance benchmark methodology
  • What performance tools are available to identify the root/cause and do benchmark?
  • What performance monitor counters can be used for SQL Server and what does these mean to performance?
  • How to query Top 10 CPU usage queries, Top 10 I/O usage queries, Top missing indexes?
  • Query Design consideration, identifying the bottleneck by execution plan and how to improve the query performance?
  • “SELECT” Query best practices
  • “JOIN” makes a difference. What are Hash Join, Merge Join and Loop Join?
  • How Index may help the query performance?
  • What is non/clustered index, and covering index?
  • Identify Blocking and deadlock. How to solve these issue?
  • Performance case study. I/O or CPU Usage intensive cases.
Prerequisite
  • Basic understanding of SQL Server/SQL Query
  • Basic Performance testing methodology
 
Evaluation
  • Attendance rate 50%
  • Homework / Lab 50%

 課程綱要

Course Name MS SQL Database Performance Tuning Hands-on Labs
Duration 16~20 hours
Target Audience Attendee whom may be interested or involved with

  • Database administrators
  • System Engineers or Developers or Testers working on projects related to MS SQL.
Agenda
Session 1
  • SQL Performance Methodology, and Top Killers
  • Performance Tools. PerfMon, ActiveMonitor, Dashboard reports, Performance query scripts by DMV, Extended Events, WireShark
  • Query Execution Plan Analyzer
Session 2
  • SQL Performance monitor counters and meanings
  • Performance query scripts by DMV
  • Query Design Analysis (data type, EXISTS, UNION ALL, Indexes, Variables, network round-trips)
  • Query best Practices (SELECT, JOINS..)
Session 3
  • SQL query Execution Plan (Table Scan, Index Scan/Seek)
  • Index Effectiveness
  • Hash Join, Merge Join, Loop Join
  • How to measure Query Cost
Session 4
  • Query optimization case study. How to identify and tuning actions
  • Index Design recommendations
  • Non/Clustered indexes, Covering Index, and column order
Session 5
  • Blocking
  • Deadlock
Session 6
  • Deadlocks Case study.
  • Memory issue case study
  • High CPU and IO Usage case study

Leave a Reply

Your email address will not be published. Required fields are marked *