Course
Performance Tuning and Optimizing SQL Server and SQL Databases
Overview
Performance tuning focuses on identifying and resolving bottlenecks that may affect the performance applications.
Optimization involves analyzing and improving the performance of your code and resources to make it faster and more efficient
Audience Profile
This course was designed for SQL developers and database administrators (DBAs) who wish to enhance their SQL tuning skills and improve database performance but also for SQL designer application developers
Course Outline
- SQL Server and databases tuning
- Evaluate the system’s hardware resources and and their load level
- Identify critical hardware resources
- Evaluate system hardware resources allocated and used by SQL Server
- Identify the database(s) with the highest consumption of hardware resources
- Analyze the design of the main database / databases (filegroup / filegroups, filestream, memory-optimized filegroup)
- Identify tables, procedures, and functions that generate bottlenecks in a database or application
- Identify slow-stored procedures and functions
- Evaluate indexes and statistics
- Evaluating indexes – look for missing indexes, index usage, index maintenance overhead
- Evaluating statistics – check for missing statistics, evaluate statistics accuracy, consider the frequency of data changes
- Analyze the maintenance plan of indexes and statistics and decide for daily, weekly, periodic, emergency job
- Impact of rebuilding vs impact of reorganizing indexes
- SQL server and databases optimization
- Detect too many indexes
- Optimizing queries by configuring columnstore and full-text indexes
- In-depth understanding of the execution plan
- Fatal errors vs query time out
- Determining the need for partitioning tables
- Implementing the optimal level of transactions isolation level
- Implementing the optimal level of transactions isolation level for Select statements
- SQL server and databases optimization tools
- SQL Server Query Optimizer vs SQL Database Engine Tuning Advisor
- SQL Server Profiler vs Performance Monitor
- SQL Server Profiler & Performance Monitor
- SQL Server Profiler vs Extended Events
- SQL Resource Governor
- Query dynamic views for Waits, Query cached plans, I/O latches, Buffer latches, and non-buffer latches, Locks, Similar plan cache for the same statements, etc.
- SQL server and databases maintenance
- Set Baseline for SQL Server metrics
- Set Baseline for SQL database / databases metrics
- Set the daily maintenance job
- Set the weekly maintenance job
- Set the monthly maintenance job
- Set the procedure for emergency maintenance plan
