T-SQL Execution Plans Index Transactions & 2025 New Features

Execution Plans, Indexes, Transactions, In-Memory OLTP & new SQL Server 2025 AI, Vector Search, Regex & JSON features.

  • 0.0 (0 Reviews)
  • 0 Students
  • 113 Lessons
  • Vikas Munjal

Course Overview

This course is not for beginners. One should have prior knowledge on T-SQL commands before enrolling into this course.The course contains the following topics

Index Concepts in SQL Server

Page in SQL Server

Extent in SQL Server

Heap in SQL Server

Clustered Index

Non Clustered Index

Heap with Non Clustered Index

Indexes are not very Deep

Composite Index

Index Fragmentation

Index Creation using T-SQL Commands

Index Rebuild and ReOrganize

FillFactor

Included Columns

Data Type on Clustered Index


Execution Plan

Statistics

Actual Execution Plan

Estimated Execution Plan


Common Operators

Table Scan

Index Scan

Index Seek

Key Lookup

RowID Lookup

Nested Loop

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 Spool

Eager Spool

Parallelism - Distribute Stream ,Gather Stream & Repartition Stream


More on Execution Plans

Halloween Problem

Execution Plan of Insert Operation

Execution Plan of Delete Operation

Execution Plan of Update Operation

Subtree cost related to Parallelism

Subtree Cost of Stream and Hash Aggregate

Index supports Wild Card


Patterns to Note to Tune Queries

Parameter Sniffing

Parameter Sensitive Plan Optimization in SQL Server 2022

Optional Parameter Plan Optimization in SQL Server 2025

MergeJoin Patterns

Hash Join Patterns

Key Lookup Patterns

Sort Indicators

Aggregate Indicators

Parallelism Indicators

Warnings in Execution Plan


From these topics you will learn how to read and understand execution plans which will help in tuning Transact SQL Commands


Later sections of the online video training course include topics related to Transactions , Concurrency Problems , their solutions using Transaction Isolation Levels . Another major portion of the course consists of In-Memory OLTP in T-SQL .

The details topics are


Transactions


Auto Commit  Transactions

Implicit  Transactions

Explicit Transactions

Deadlock

Lock Modes


Concurrency Problems


Dirty Read Problem

Non Repeatable Read Problem

Phantom Read Problem

Lost Update Problem


Isolation Levels and Solutions


Read Uncommitted Isolation Level

Read Committed Isolation Level

Repeatable Read Isolation Level

Serializable Isolation Level

Scenario where Repeatable Read or Serializable or Snapshot can be used

Snapshot Isolation Level

Read Committed Snapshot Isolation Level


In-Memory OLTP


What are In-memory Tables

Scenarios of In-memory Table

Creating In-memory Table and Testing its performance

In-memory Table Indexes

Native Compiled Stored Procedure

Migration from Existing Disk Based Tables to In-memory Table


In-Memory OLTP Isolation Levels


In-Memory OLTP Snapshot Isolation Level

In-Memory OLTP Repeatable Read Isolation Level

In-Memory OLTP Serializable Isolation Level

Also this course provides a technical walkthrough of the new developer-centric features introduced in SQL Server 2025. It is designed for developers and database professionals who want to move beyond traditional T-SQL and leverage modern capabilities like AI-driven vector search, native JSON handling, advanced regular expressions, and intelligent query optimization.

This is a practical, feature-focused course. We cut through the marketing to focus on syntax, implementation, and performance impact.

What You Will Learn The curriculum is organized into four core modules covering the following technical areas:

  • AI & Vector Search: Integration of semantic search capabilities using the native Vector datatype. We cover embeddings with OpenAI, distance functions for similarity searching, and efficient implementation using DiskANN.

  • Native JSON & Data Handling: Transitioning from legacy NVARCHAR parsing to SQL Server’s new high-performance native JSON datatype, including native indexing strategies and the JSON_OBJECTAGG function.

  • Regex, Text Analytics & Productivity: Implementation of native Regular Expressions (REGEXP_LIKE, REPLACE, SUBSTR, COUNT), practical usage of the || concatenation operator, Base64 encoding/decoding, and Fuzzy Matching algorithms (Edit Distance and Jaro-Winkler).


    After learning these new features , you will have a clear, working knowledge of these specific SQL Server 2025 features and be prepared to implement them in your development and production environments.


See more

FAQ

FAQ area empty

Course curriculum

14 chương 113 bài học 12 giờ 56 phút 7 bài học thử miễn phí
Chương 1 Index Concepts
Chương 2 Execution Plans
  • What are Estimated & Actual Execution Plans along with Statistics 6:57
  • Download and Restore AdventureWorks Database 4:09
  • Table Scan Operator 3:40
  • Index Scan Operator 2:30
  • Index Seek Operator 1:51
  • Key Lookup, RowID Lookup & Nested Loop Operators 14:59
  • Index supports Wild Card 5:31
  • Sort in Execution Plan 7:58
  • Merge Join Operator 5:46
  • Hash Join,Merge Join & Nested Loop Operators 16:43
  • Compute Scalar Operator 6:12
  • Stream and Hash Aggregate Operators 4:55
  • Subtree Cost of Stream and Hash Aggregate 0:36
  • Semi Joins & Anti Semi Joins in Execution Plan 12:44
  • Merge using Left Anti Semi Join in Execution Plan 5:32
  • Execution Plan of Insert Operation 12:13
  • Execution Plan of Delete Operation 2:58
  • Parallelism in Execution Plan 8:03
  • Distribute Stream ,Gather Stream & Repartition Stream 3:49
  • Segment Operator & Sequence Project Operators in Execution Plan 6:18
  • Lazy Spool in Execution Plan 11:08
  • Eager Spool and Halloween Problem -Update Practical 10:04
Chương 3 Patterns to Notice in Execution Plans
  • Introduction 0:35
  • Parameter Sniffing vs Parameter Sensitive Plan Optimization in Sql Server 2022 6:07
  • Parameter Sniffing vs Parameter Sensitive Plan Optimization Practical 11:25
  • Introduction to Optional Parameter Plan Optimization (OPPO) in SQL Server 2025 7:46
  • OPPO in Action: Practical Demo and Execution Plan Analysis 7:47
  • Merge Join Patterns 4:34
  • Hash Join Patterns 4:00
  • Key Lookup Patterns 3:12
  • Sort Aggregate & Parallelism Indicators 3:47
  • Warnings in Execution Plan 1:27
  • Summary 0:24
Chương 4 Transaction Introduction
  • What is Transaction 2:33
  • Practical Example of Implementing a Transaction 16:53
Chương 5 Concurrency Problems
  • Dirty Read Problem 11:24
  • Non Repeatable Read Problem 4:26
  • Phantom Read Problem 2:47
  • Lost Update Problem 7:28
Chương 6 Isolation Levels and Solutions
  • Read Uncommitted Isolation Level 6:11
  • Read Committed Isolation Level 3:59
  • Repeatable Read Isolation Level 7:10
  • Serializable Isolation Level 8:05
  • Scenario where Repeatable Read or Serilizable or Snashot can be used 1:13
  • Snapshot Isolation Level Part 1 10:29
  • Snapshot Isolation Level Part 2 11:26
  • Read Committed Snapshot Isolation Level 8:00
Chương 7 More on Locking and Transactions
  • Auto Commit , Implicit and Explicit Transaction 5:55
  • Deadlock 6:47
  • Lock Modes 12:21
  • Pessimistic v/s Optimistic Concurrency Control 5:06
Chương 8 In-Memory OLTP
  • What are Inmemory Tables 8:23
  • Advantages of In-memory Table 26:00
  • Creating Inmemory Table and Testing its performance 18:04
  • Inmemory Table Indexes 10:18
  • Native Compiled Stored Procedure 11:21
  • Migration from Existing Disk Based Tables to Inmemory Table 12:17
Chương 9 In-Memory OLTP Isolation Levels
  • In-Memory OLTP Snapshot Isolation Level 14:51
  • In-Memory OLTP Repeatable Read Isolation Level 5:23
  • In-Memory OLTP Serializable Isolation Level 4:35
Chương 10 Introduction SQL Server 2025 New Features
  • SQL 2025: What’s New? 3:44
Chương 11 AI Embeddings and Vector Search in SQL Server 2025
  • The AI Era of T-SQL: From Keyword to Semantic Search 2:27
  • Introduction to LLMs and Generative AI 6:36
  • Understanding Vectors and Embeddings 4:40
  • How SQL Server Integrates with OpenAI Embedding Models 11:13
  • Creating an OpenAI API Key 1:42
  • The New Vector Datatype in SQL Server 2025 3:07
  • Converting Text into Embeddings Using OpenAI API 15:36
  • Similarity Search Using the Vector Distance Function 8:17
  • Vector Similarity Metrics: Cosine, Euclidean, and Dot 2:05
  • Understanding Vector Search Functions and DiskANN 7:49
Chương 12 JSON New Features in 2025
  • JSON Fundamentals 10:10
  • Native JSON Datatype in 2025: No More ISJSON() Validation 4:54
  • NVARCHAR vs. Native JSON: Stop Wasting CPU on JSON Parsing 4:24
  • Stop Scanning NVARCHAR: High-Performance JSON Indexing in SQL Server 2025 4:55
  • Hidden Cost of JSON Indexing Before SQL Server 2025: Workarounds & DML Slowness 2:10
  • The New JSON_OBJECTAGG : Aggregate Rows to JSON Without STRING_AGG Hacks 5:32
  • JSON_OBJECT (2022) vs JSON_OBJECTAGG (2025): SQL Server JSON Evolution 3:23
  • JSON_PATH (2016) vs JSON_ARRAYAGG (2025): SQL Server JSON Evolution 7:14
  • JSON_MODIFY (2016) vs .modify() (2025): SQL Server Native JSON Evolution 4:42
  • SQL Server 2025: Lightning-Fast JSON Queries with JSON_CONTAINS 4:07
Chương 13 Native Regular Expressions (Regex) in SQL Server 2025
  • Pattern Matching Using REGEXP_LIKE 10:05
  • Replacing Text Patterns Using REGEXP_REPLACE 10:16
  • Extracting Substrings Using REGEXP_SUBSTR 7:00
  • Counting Pattern Occurrences Using REGEXP_COUNT 3:46
  • Finding Character Positions Using REGEXP_INSTR 10:54
  • String Validation Using REGEXP_MATCH 8:14
  • Splitting Text into Rows Using REGEXP_SPLIT_TO_TABLE 7:49
Chương 14 Advanced String Processing and Text Analytics in SQL Server 2025
  • The New Concatenation Standard: Mastering the Double Pipe (||) Operator 16:18
  • Secure Data Transmission: Working with BASE64_ENCODE & BASE64_DECODE 12:08
  • Fuzzy Matching Part 1: Implementing EDIT_DISTANCE for Typo Tolerance 9:42
  • Fuzzy Matching Part 2: Advanced Text Analytics with JARO_WINKLER 6:04
  • Bonus Lecture

Requirment

  • A good working knowledge of T-SQL (writing SELECT statements, basic joins, standard data types & stored procedures).

  • Microsoft SQL Server and SQL Server Management Studio should be installed already

Outcomes

  • Understand how SQL Server stores and accesses data using pages, extents, heaps, and indexes

  • Design and maintain effective indexing strategies using clustered and nonclustered indexes

  • Identify performance issues using execution plan operators, warnings, and indicators

  • Tune queries by recognizing common execution plan patterns and anti-patterns

  • Understand transactions and concurrency behavior in SQL Server

  • Identify and resolve concurrency problems such as dirty reads, phantom reads, and deadlocks

  • Choose the correct transaction isolation level based on real-world scenarios

  • Understand and implement In-Memory OLTP, including tables, indexes, and native compiled procedures

  • Implement native AI Vector Search and embeddings in T-SQL queries using the new 2025 vector datatype and DiskANN distance functions.

  • Query and index unstructured data efficiently using SQL Server 2025's native JSON datatype instead of NVARCHAR string parsing.

  • Apply native Regular Expressions (REGEXP) and Fuzzy Matching algorithms like Edit Distance and Jaro-Winkler for complex data validation.

  • Configure Parameter Sensitive Plan Optimization (PSPO) and Optional Parameter Plan Optimization (OPPO) to stabilize query performance.

  • Utilize advanced text processing tools including secure BASE64 encoding/decoding and the native double pipe (||) string concatenation operator.

Instructor

...
Vikas Munjal

0.0

  • ... 0 Student
  • ... 1 Course
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all
Một sản phẩm của Công ty Cổ phần Thương mại Vạn Tín Việt·vantinviet.com