MS SQL Server – Comprehensive Performance Optimization (MSQL3)

Databases, Microsoft SQL

This course gives a practical, comprehensive guide to performance tuning for MS SQL Server, covering system architecture, server configuration and detailed query analysis. You will learn to diagnose causes, measure impact and prioritize fixes and use automated monitoring.

The hands-on course shows how to read execution plans, design and maintain indexes, and tune complex queries and transactions. It covers automated tuning, monitoring, and how database or application design affects overall performance in real scenarios.

THIS TRAINING COURSE WILL HELP YOU:

  • Identify database performance issues and find their root cause
  • Analyze execution plans and use them to tune queries
  • Design, build and maintain indexes effectively
  • Optimize T-SQL queries for maximum performance
  • Use tools to monitor server and individual query performance

WHO SHOULD ATTEND?

  • Database administrators managing operational SQL Server
  • Database and T-SQL developers who write efficient queries
  • Data analysts and BI specialists working with large queries
  • Database architects and solution designers
  • DevOps and IT specialists responsible for deployment and operations

COURSE LOCATION AND AVAILABLE DATES



Choose whether to attend in person in our classroom or join online. You can select your preferred format during registration. Learn more about hybrid training.

Unlock your employees' potential. We can adapt every course in our portfolio to your objectives and participants.
Need training at your premises or want to tailor the content and duration? We will prepare the right solution, in Czech or English.

Request customised training

Course content:

Hide details
  • Introduction to Performance Tuning
    1. Where to start and what to focus on
    2. Limits of optimization and SQL Server constraints
    3. SQL Server query processing architecture
    4. SQL Server caches: usage, management and impact on performance
    5. A holistic approach to optimization
  • Architecture and its impact on performance
    1. SQL Server architecture overview
    2. Logical and physical database structure
    3. Filegroups
    4. Tempdb and its performance implications
    5. OS-level factors: CPU, RAM, storage, network and correct configuration
    6. Storage arrays, SSDs and flash technologies
    7. IOPS requirements and performance measurement
    8. Cloud optimizations and DBaaS overview
  • Execution plans
    1. Introduction
    2. Cost, IO cost, CPU cost
    3. How to compare and read execution plans
    4. Operators and their significance
    5. Compilation, plan recycling and reuse
    6. Plan parameterization
    7. Parameter sniffing
  • Indexes
    1. Clustered vs. nonclustered indexes
    2. How SQL Server uses or ignores indexes
    3. Internal index structure and usage
    4. Index statistics, internals and their use
    5. Covering vs. composite indexes
    6. Indexing expressions and aggregate functions
    7. Indexed (materialized) views
    8. Lesser-known index techniques for query optimization
    9. Full-text indexes: SQL Server options and alternatives
    10. Other SQL Server index types: XML, hierarchical, spatial, Columnstore
    11. Alternatives and search databases overview
  • Solving problems with queries, indexes, databases and design
    1. Common issues in database, query and index design
    2. How indexes affect query performance
    3. Over-indexing and under-indexing
    4. Index optimization techniques
    5. Eliminating bookmark lookups
    6. Index consolidation
    7. Automated index and statistics maintenance
    8. Filtered indexes and filtered statistics
    9. ORMs: common issues and limitations
    10. Practical recommendations
  • Index and database maintenance
    1. Statistics management
    2. Index maintenance strategies
    3. Management plans
  • SQL query performance optimization
    1. Principles of writing efficient queries
    2. Join operators
    3. JOIN optimization techniques
    4. Normalization vs. denormalization trade-offs
    5. MERGE operator for fast data synchronization
    6. Optimizing binaries with FILESTREAM
  • Transactions
    1. ACID principles
    2. Transaction concepts
    3. Transaction isolation and isolation levels
    4. Snapshot isolation, MVCC architecture pros and cons
    5. Concurrency of queries and transactions
    6. Locks and their meaning
    7. Deadlocks
  • Automated server tuning
    1. Automated performance tuning and when to use it
    2. SQL Profiler
    3. Database Engine Tuning Advisor
  • Performance monitoring
    1. Activity Monitor, Performance Monitor
    2. Query Store
    3. Extended Events
    4. Monitoring via WMI
    5. Data Collector and Management Data Warehouse
    6. SQL Server Performance Dashboard reports
    7. Dynamic Management Views
  • Query and server state analysis
    1. Analyzing queries, execution plans and resource usage
    2. Index analysis and tuning
    3. Lock and blocking analysis
    4. Waits and other resource-related problem analysis
  • Optimizing application processing
    1. Minimizing blocking and deadlocks
    2. Transaction optimization
    3. Hints
    4. Reducing tempdb operations
    5. Common SQL Server performance killers
    6. Optimizing overall operation
    7. Optimization checklist
    8. Practical recommendations
Prerequisites:
Basic knowledge of SQL and MS SQL Server administration.
Recommended previous course:
SQL Server Administration (MSQL1)
Schedule:
3 days (9:00-17:00)
Price per person:
744.00 € ( 900.24 € incl. 21% VAT)

Training and learning environment