A Little About LOCK_TIMEOUT In SQL Server

Publié le: 09 décembre 2024
sur la chaîne: Erik Darling (Erik Darling Data)
741
69

In this video, I delve into the often-overlooked 'LOCK_TIMEOUT' command in SQL Server, addressing common misconceptions and providing practical insights. Erik Darling from Darling Data shares a detailed example where he demonstrates how 'LOCK_TIMEOUT' interacts with query execution plans, revealing that it doesn't check for locks before running the query but rather intervenes when locks are encountered during execution. I also touch on alternative methods to bypass lock issues, such as using read past hints and optimistic isolation levels like 'READ COMMITTED SNAPSHOT'. Whether you're a seasoned SQL Server professional or just starting out, this video offers valuable lessons that can help you better manage concurrency issues in your databases.

CHAPTERS

00:00:00 - Introduction
00:02:14 - Lock Timeout Overview
00:03:02 - Query Plan Analysis
00:06:20 - Lock Timeout Mechanism
00:08:11 - Common Misconceptions

━━━━━━━━━━━━━━━━━━━━━━━━━━
📚 TRAINING & COURSES
━━━━━━━━━━━━━━━━━━━━━━━━━━
Get AI-Ready With Erik
https://training.erikdarling.com/get-...

SQL Server Performance Engineering Course
https://training.erikdarling.com/sql-...

Learn T-SQL with Erik
https://training.erikdarling.com/lear...

Everything Bundle:
https://training.erikdarling.com/?cou...

━━━━━━━━━━━━━━━━━━━━━━━━━━
🛠️ CONSULTING & SERVICES
━━━━━━━━━━━━━━━━━━━━━━━━━━
Need SQL Server performance help?
https://training.erikdarling.com/sqlc...

━━━━━━━━━━━━━━━━━━━━━━━━━━
💬 CONNECT
━━━━━━━━━━━━━━━━━━━━━━━━━━
Ask questions at Office Hours
https://erikdarling.com/officehours/

Become a channel member
   / @erikdarlingdata  
━━━━━━━━━━━━━━━━━━━━━━━━━━


Sur cette page du site, vous pouvez voir la vidéo en ligne A Little About LOCK_TIMEOUT In SQL Server durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Erik Darling (Erik Darling Data) 09 décembre 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 741 fois et il a aimé 69 téléspectateurs. Bon visionnage!