Тёмный

Locking in SQL Server 

ARSLANOV
Подписаться 1 тыс.
Просмотров 9 тыс.
50% 1

This video is a brief information about locking in SQL server: what is locking, how many types are there and how do they work.
Agenda:
1. What is locking?
2. Why do we need locking?
3. Major locking types and how they work (with live demo)
To check blocking sessions, use:
SELECT
request_session_id,
resource_type,
resource_description,
request_mode,
request_type,
request_status
FROM sys.dm_tran_locks
SELECT
session_id,
wait_duration_ms,
wait_type,
blocking_session_id,
resource_description
FROM sys.dm_os_waiting_tasks
SELECT
session_id,
status,
wait_type,
wait_time,
wait_resource,
command
FROM sys.dm_exec_requests
📚 ►Full course on Troubleshooting sessions: • Troubleshooting
📷 ►Follow me on Instagram - www.instagram....
🧑‍💼►Follow me on LinkedIn - / bobirmirzo-arslanov-54...
Watch all my playlists here:
🚀►Full course on Encrypting connections to SQL Server- • Full course on Encrypt...
🚀 ►SQL Server replication session: • SQL Server replication
🚀 ►SQL Server Always On Availability Group: • SQL Server Always On A...
🚀 ► SQL Server internals: • SQL Internals
🚀 ► Course in On-memory OLTP: • Course on In-Memory OLTP

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 5   
@NodirabegimArslanova
@NodirabegimArslanova Год назад
very good explanation
@binio28
@binio28 5 месяцев назад
good explanation, thank you
@arslanov1886
@arslanov1886 5 месяцев назад
I am glad you liked it!
@hasanmougharbel8030
@hasanmougharbel8030 2 года назад
Hey there, i have a simple enquiry a new sql learner. I learned that when transaction statements are applied, the rows being under the transaction is locked. What does the term lock imply here? Shall i need to apply specific procedures to ensure rows are locked? Thanks a lot.
@AnisurRahman-wm2ys
@AnisurRahman-wm2ys Год назад
Excellent !!
Далее
Это было очень близко...
00:10
Просмотров 1,3 млн
How to use Timeline view
5:46
Просмотров 18
Deadlocks: Lets Do One, Understand It, and Fix It
44:01
All Postgres Locks Explained | A Deep Dive
48:23
Просмотров 36 тыс.
Writing My Own Database From Scratch
42:00
Просмотров 241 тыс.
Always on Availability group (AG) cluster in SQL Server
31:40
NOLOCK in Sql Server Good or Bad Demo
8:36
Просмотров 16 тыс.
Это было очень близко...
00:10
Просмотров 1,3 млн