SQL Server Performance Tuning and Optimization is a course in finding and fixing slow SQL Server systems on the 2025 release, from wait statistics, memory and disk I/O to indexes, locking, execution plans and Query Store. It suits database administrators, developers who write T-SQL and people starting a database career who want to understand SQL Server in depth.
Systems built on SQL Server often slow down as data and users grow. Many teams respond by adding CPU or RAM, or by creating every index that is suggested, without knowing the real cause, so costs rise and the problem keeps coming back. Effective tuning starts with understanding how SQL Server works, measuring where the time actually goes, and fixing the right thing on both the administration and the development side, with baselines in place so you can spot anything unusual yourself.
This course is updated for SQL Server 2025. It starts with the internals: SQLOS, wait statistics, memory, disk I/O, the transaction log and tempdb, then builds a baseline with DMVs and Extended Events. It goes on to indexing strategy, columnstore, statistics, cardinality estimation, locking and deadlocks, including the new optimized locking, before moving into query tuning, reading execution plans, fixing parameter sensitivity, Query Store, Query Store hints and Intelligent Query Processing. Every topic has a lab on a sample database, and the course closes with a workshop that fixes a slow system from start to finish. (3 days, 6 hours per day, 18 hours in total, Intermediate level.)
What you’ll gain
Explain how SQLOS, memory, disk I/O and the transaction log affect performance
Diagnose problems with wait statistics, DMVs and Extended Events, and build a baseline
Plan an indexing strategy, including columnstore, and maintain indexes and statistics properly
Analyse and reduce blocking and deadlocks with isolation levels and optimized locking
Read execution plans and make queries measurably faster
Use Query Store, Query Store hints and Intelligent Query Processing to fix plan regressions
Handle more data, run faster and use fewer resources on your own systems
Who this course is for
SQL Server database administrators who deal with slow systems or resource shortages
Developers who write T-SQL and stored procedures or use an ORM with SQL Server
System engineers and infrastructure teams who look after database servers
People starting a database career who want a deeper understanding of SQL Server
Prerequisites
Fluent T-SQL, such as JOIN, GROUP BY, subqueries and stored procedures
Experience installing or looking after SQL Server and using SQL Server Management Studio
A basic understanding of primary keys, indexes and transactions
A laptop that can run SQL Server Developer Edition or Docker, with permission to install software
Curriculum
Course Details
This course is the 2026 edition of Performance Tuning and Optimization MS SQL Server, updated for SQL Server 2025. It runs for 3 days, 6 hours per day (18 hours in total, 09:00-16:00), as lectures with a lab for every topic on a sample database with load scripts. Intermediate level. It covers both the administration and the development side, from internals and diagnosis with
wait statistics and Extended Events to indexing and statistics, locking and deadlocks, query tuning, Query Store and Intelligent Query Processing. Unlike the SQL Server for Administration course, which focuses on installation and day-to-day administration, this course is about performance. Learners use SQL Server 2025 Developer Edition on their own machine and take home a lab guide, a set of diagnostic scripts and a tuning checklist.
Day 1Internals and Diagnosing Problems
Section 1: Lab: Setting Up SQL Server 2025 and a Tuning Mindset
What is new for performance in SQL Server 2025 and compatibility level 170
Install Developer Edition on Windows or Docker, and the defaults worth changing
Use the latest SSMS and VS Code in place of the retired Azure Data Studio
A measure-first approach: symptoms, waits, queries and plans
Lab: restore the sample database and run the load scripts
Section 2: SQLOS, Task Scheduling and Wait Statistics
SQLOS, schedulers, workers and the running, runnable and suspended states
Read wait statistics from sys.dm_os_wait_stats and sys.dm_exec_session_wait_stats
What common waits such as PAGEIOLATCH, CXPACKET, LCK and WRITELOG mean
Separate waits that matter from waits you can ignore
Lab: find the main cause of a slow system from wait statistics
Section 3: Memory and Disk I/O
The buffer pool, plan cache and memory grants
Setting max server memory, and what happens when Windows or Linux runs short of memory
Measure file latency with sys.dm_io_virtual_file_stats
Memory grants that are too large or too small, and spills to tempdb
Lab: simulate memory pressure and read the results from DMVs
Section 4: Data Files, Pages, the Transaction Log and tempdb
Pages, extents and how data is stored in files
Transaction log architecture, VLFs and log file growth
Delayed durability and accelerated database recovery
Configuring tempdb properly, including tempdb space limits in SQL Server 2025
Lab: check VLFs and resize the log file of the sample database
Section 5: Lab: Measurement Tools and Building a Baseline
Key DMVs for sessions, requests and running queries
Extended Events, including sessions that stop automatically after a set time
How do you read an execution plan in SQL Server to find what makes a query slow?
Enable the actual execution plan in SSMS and run the query. Read the plan from right to left and look for operators that handle a lot of time or rows, such as scans on large tables, many key lookups or sorts that spill to tempdb. Compare estimated rows with actual rows: a large gap usually points to stale statistics or parameter sensitivity. Also check warnings such as missing indexes or implicit conversions.
What does SARGable mean, and why does it affect query speed?
SARGable (search-argument-able) describes a WHERE condition that lets SQL Server use an index seek, such as OrderDate >= '2025-01-01'. Wrapping the column in a function, as in YEAR(OrderDate) = 2025, using LIKE with a leading %, or mismatching data types so values must be converted usually forces a scan of the whole index or table. The fix is to leave the column bare on one side of the comparison and match parameter types to the column.
What is the difference between blocking and a deadlock in SQL Server, and how does optimized locking help?
Blocking happens when one session holds a lock and another must wait; it clears when the first transaction ends. A deadlock is when two sessions each hold a lock the other needs, and SQL Server ends one of them with error 1205. Keep transactions short, access tables in the same order and use suitable indexes. SQL Server 2025 adds optimized locking, which holds fewer locks, avoids lock escalation and reduces blocking during updates. It requires accelerated database recovery to be enabled.
Who is the SQL Server Performance Tuning and Optimization course for, and what should I know beforehand?
It suits database administrators, developers who write T-SQL or use an ORM with SQL Server, infrastructure teams and anyone who wants a deeper understanding of SQL Server. You should be fluent in T-SQL, have installed or looked after SQL Server and used SSMS, and bring a laptop that can run SQL Server Developer Edition or Docker for the labs.
What will I be able to do after the SQL Server Performance Tuning and Optimization course?
You will be able to explain how SQLOS, memory, disk I/O and the transaction log work, diagnose problems with wait statistics, DMVs and Extended Events, build a baseline, plan indexes including columnstore, maintain statistics, reduce blocking and deadlocks, read execution plans and tune queries, and use Query Store, Query Store hints and Intelligent Query Processing to fix plan regressions. Participants who complete the training receive a Certificate of Completion with its own number, which can be verified online.
Can the SQL Server Performance Tuning and Optimization course be run in-house for our team?
Yes. It can be run in-house for your team, with examples adapted to your own work, such as analysing queries and indexes based on the workloads your systems actually handle. You can request a quotation from this page, or contact us on LINE @itgenius or by phone on 02-570-8449.
Paginated reports that print neatly to a set layout, arrive in executives' inboxes every morning and can be opened in a browser from one central place are still at the heart of reporting in many organisations that run SQL Server. In 2026, though, the platform…
The database is at the heart of an organisation's systems, so a database administrator (DBA) has to keep data available, recoverable when things go wrong, safe from unauthorised access and consistently fast. SQL Server 2025 adds features that help directly…
SQL Server is one of the most widely used databases in Thai organisations, behind accounting, sales and internal systems. Anyone starting to work with data needs to create tables, write SQL to pull data into reports and bring Excel data into the system. Yet…
18 hours3 days
7,110THB7,900 THB
View details
SQL Server Performance Tuning and Optimization18 hrs · 3 days