Understanding Execution Plans and Indexes in SQL Server
Master SQL Server indexes & execution plans! Learn T-SQL commands for basic to advanced performance tuning. Optimize queries & boost database speed.
Course Content
Understanding Execution Plans and Indexes in SQL Server is an intermediate-level Udemy course taught by Vikas Munjal. It runs 4h 53m, is taught in English, and includes a certificate of completion. Learners rate it 4.6 out of 5 from 641 reviews, with 3,283 students enrolled. It is a paid course, last updated December 2024.
Dive deep into SQL Server performance tuning with this advanced course, designed for those already familiar with T-SQL commands. This isn't an introductory course – it builds upon existing knowledge to help you master query optimization.
Here's a breakdown of the key topics covered:
- Index Concepts: Gain a comprehensive understanding of how indexes work in SQL Server.
- Page, Extent, and Heap Structures: Explore the fundamental storage units within SQL Server and how they impact performance.
- Clustered vs. Non-Clustered Indexes: Learn the differences and when to use each type for optimal data retrieval.
- Heap Structures & Non-Clustered Index Interactions: Understand how heaps function and how non-clustered indexes interact with them.
- Composite Indexes: Master the use of composite indexes to improve query efficiency.
- Index Fragmentation: Identify and address index fragmentation to maintain optimal performance.
- Index Creation with T-SQL: Learn how to create indexes using T-SQL commands for targeted optimization.
- Index Rebuild & Reorganize: Understand the difference between rebuilding and reorganizing indexes and when to apply each.
- Fill Factor: Control index fill factor for performance and storage considerations.
- Included Columns: Leverage included columns to reduce key lookups and improve query speed.
- Data Types on Clustered Indexes: Understand the implications of data types used in clustered indexes.
- Decoding Execution Plans: The core of this course! Learn to read and understand SQL Server execution plans.
- Execution Plan Analysis: Analyze actual execution plans versus estimated execution plans to identify bottlenecks.
- Common Operators: Deep dive into the behavior of key operators:
- Table Scan
- Index Scan
- Index Seek
- Key Lookup
- RowID Lookup
- Nested Loop Join
- Sort
- Merge Join
- Hash Join
- Compute Scalar
- Stream Aggregate
- Hash Aggregate
- Left Semi Join
- Right Semi Join
- Left Anti Semi Join
- Right Anti Semi Join
- Segment Sequence & Project/Lazy/Eager Spool: Explore advanced techniques for data manipulation.
- Parallelism: Optimize query performance through Distribute Stream, Gather Stream, and Repartition Stream strategies.
- The "Halloween Problem": Understand and address performance issues that arise after SQL Server upgrades.
- Execution Plans for Specific Operations: Analyze execution plans for:
- Insert Operations
- Delete Operations
- Update Operations
- Subtree Cost & Parallelism: Understand how subtree costs relate to parallelism.
- Index Support for Wildcard Patterns: Learn how to effectively use wildcard patterns in queries.
- Query Tuning Tips: Key patterns to note when tuning queries.
- Parameter Sniffing & Parameter Sensitive Plan Optimization (SQL Server 2022): Master parameter sniffing and how to optimize plans for parameter sensitivity.
- Merge Join & Hash Join Patterns: Understand the nuances of these join types.
- Key Lookup Patterns & Sort/Aggregate Indicators: Identify potential performance issues related to these patterns.
- Interpreting Execution Plan Warnings: Learn to recognize and address warnings in execution plans.
By mastering these concepts, you'll gain the skills to significantly improve the performance of your Transact SQL commands and optimize your SQL Server database.
Hire the developers behind TutorialSearch.io
We built this site — full-stack web apps, AI integration & automation. Tell us what you need and we'll build yours.