About Me
I, @TheOtherBrian1, currently work as a customer reliability engineer with a focus in Postgres management and observability.
This site represents the documentation and resources I wish existed when I was learning about locks.
My goal is to:
- 1
Explain locks conceptually
- 2
Review monitoring tools
- 3
Troubleshoot common issues
- 4
Outline real world examples of how locks impact projects
The whole project took a lot of effort to complete, so I hope you find it insightful.
Sections:
Concept
Basic concepts of locks and how they work in Postgres. I tried to make it more digestible with animations.
Locks By Example
Outlines table locks and provides a few demoes one can run to see them in action.
Lock Blocking Graph
Interactive tool that shows what SQL operations lock out each other.

Troubleshooting
Lock problems and how to identify and resolve them.
Monitoring
Reviews of popular monitoring tools, as well as some homegrown solutions.
There are a few topics that I haven't gotten around to documenting yet, but I plan to add them soon:
- Explain locks conceptually
- Review monitoring tools
- Troubleshoot common issues