Learning SQL server part.1 — lock and concurrency in SQL server

Jen-Hsuan Hsieh (Sean)
A Layman
Published in
7 min readApr 6, 2019

--

Copy right@A Layman

Even though I used the SQL server for a long time, I didn’t know it very well. However, I received an alert with the message ‘Transaction (Process ID) was deadlocked on lock resources with another process and has been chosen as the deadlock victim’ from PagerDuty on one day.

So I tried to figure out what happened on the SQL server and study the knowledge.

--

--

Jen-Hsuan Hsieh (Sean)
A Layman

Frontend Developer🚀 Angular • React • Nest • Electron • Micro-frontend • Monorepo Architecture • https://daily-learning.herokuapp.com/