Finding the root cause of locking problems in Postgres

Author: pganalyze
Published At: 2024-01-25T00:00:00
Length: 07:31

Summary

Description

*Find the article on our blog here:*

https://pganalyze.com/blog/5mins-postgres-find-cause-locking-problems

In E99 of "5mins of Postgres" we're showing how to go about finding the source of a locking problem in Postgres. Specifically, we are looking at how to debug a lock problem, how to end a process that’s holding a lock in Postgres, and show general helpful settings for handling Postgres locking.

*Learn more about pganalyze:*

https://pganalyze.com

https://pganalyze.com/newsletter

https://twitter.com/pganalyze/

*Check out the pganalyze library for eBooks, webinars, and more:*

https://pganalyze.com/resources

📑 *What we have discussed in this episode of 5mins of Postgres:*

*One PID to Lock Them All: Finding the Source of the Lock in Postgres - by Jesse Soyland*

https://www.crunchydata.com/blog/one-pid-to-lock-them-all-finding-the-source-of-the-lock-in-postgres

*Jesse Soyland on Twitter/X*

https://twitter.com/jsoyland

*Postgres Wiki*

https://wiki.postgresql.org/wiki/Main_Page

*Useful queries to analyze PostgreSQL lock trees (a.k.a. lock queues) - by Nikolay Samokhvalov*

https://postgres.ai/blog/20211018-postgresql-lock-trees

*Nikolay Samokhvalov on Twitter/X*

https://twitter.com/samokhvalov

*Lock monitoring in Postgres: Find blocking queries in a lock tree with pganalyze - by Keiko Oda*

https://pganalyze.com/blog/postgres-lock-monitoring

*pganalyze*

https://pganalyze.com/

Translated At: 2025-03-30T03:12:42Z

Request translate (One translation is about 5 minutes)

Version 3 (stable)

Optimized for a single speaker. Suitable for knowledge sharing or teaching videos.

Recommended Videos