Обучающие видео » Компьютерные видеоуроки и обучающие интерактивные DVD » Программирование (видеоуроки)
SQL Server: Deadlock Analysis and PreventionГод выпуска: 2012
Производитель:
pluralsight.comАвтор: Jonathan Kehayias
Продолжительность: 02:37:53
Тип раздаваемого материала: Видеоурок
Язык: Английский
Описание: Deadlocks can be very problematic when they occur, especially if you do not know how to figure out what's making the deadlocks occur so that you can take steps to prevent them. This course explains how the locking mechanism in SQL Server works and the circumstances that can lead to deadlocks occurring. The course then describes and demonstrates the various methods for detecting deadlocks in SQL Server and collecting information about the deadlocks so they can be analyzed, plus how to perform deadlock graph analysis using XML, Profiler, Management Studio and third-party tools. Common deadlock scenarios are explained and demonstrated, including lock escalation deadlocks, multi-victim deadlocks, reverse object order deadlocks, and more. The course concludes with how to handle deadlocks in Transact-SQL and ADO.NET code, including the implementation of custom retry logic. This course is perfect for those with no experience of deadlock analysis and those with some experience but who want to solidify their understanding of deadlocks and how to analyze and prevent them. The information in the course applies to all versions from SQL Server 2005 onwards.
[spoiler="Содержание"]
Introduction 00:06:58
Introduction 01:50
Misconceptions 02:52
Course Structure 02:16
Locking Overview 00:23:21
Introduction 02:24
Terminology 01:43
Lock Granularity 02:48
Lock Hierarchy 00:56
Shared and Update Locks 02:34
Exclusive and Intent Locks 02:50
Schema and Key-Range Locks 02:19
Lock Compatibility 02:07
Isolation Levels and Locking Hints 01:52
Lock Escalation 02:06
Summary 01:42
Deadlock Detection 00:11:50
Introduction 01:36
Deadlock Detection 02:49
Deadlock Priority 03:18
Deadlock Victim Selection 02:05
Deadlock Resolution in SQLCLR 01:13
Summary 00:49
Collecting Deadlock Information 00:25:22
Introduction 01:32
Trace Flags 02:38
Demo: Trace Flags 01:39
SQL Trace and Profiler 02:19
Demo: SQL Trace and Profiler 01:35
Event Notifications 02:25
Demo: Event Notifications 01:33
Windows Management Instrumentation 01:47
Demo: Windows Management Instrumentation 03:02
Extended Events 02:59
Demo: Extended Events 01:23
Summary 02:30
Deadlock Analysis 00:20:21
Introduction 01:24
Deadlock Graph Sections 01:52
Demo: Deadlock Graphs 03:40
Interpreting the Information 03:25
Graphical Display in Profiler/SSMS 02:19
Demo: Graphical Display 02:28
Third-party Tools 01:46
Demo: Third-party Tools 02:15
Summary 01:12
Example Deadlock Scenarios 00:51:44
Introduction 02:10
Reverse Object Order Deadlocks 01:34
Demo: Reverse Object Order Deadlocks 04:10
Bookmark Lookup Deadlocks 02:54
Demo: Bookmark Lookup Deadlocks 02:52
Serializable Deadlocks 02:33
Demo: Serializable Deadlocks 03:28
Cascading Constraint Deadlocks 01:31
Lock Escalation Deadlocks 01:57
Demo: Lock Escalation Deadlocks 04:11
Memory Grant Deadlocks 03:20
Intra-Query Parallelism Deadlocks 02:22
Multi-Victim Deadlocks 02:37
Demo: Multi-Victim Deadlocks 04:38
Resolving Deadlocks 02:59
Demo: Resolving Deadlocks 06:55
Summary 01:33
Handling Deadlocks 00:18:17
Introduction 01:26
Catching Deadlock Errors 01:00
Demo: Catching Deadlock Errors 06:19
Retrying After a Deadlock 01:31
Demo: Retry Logic 06:38
Summary 01:23
[/spoiler]
Файлы примеров: отсутствуют
Формат видео: WMV
Видео: WMV3, 1024x768, 15 fps, ~100 kbps
Аудио: WMA v2, 44100Hz, 128 kb/s, Stereo
[spoiler="Скриншоты"]

[/spoiler]