LWLocks

LWLocks

Update: 2025-10-17
Share

Description

Nik and Michael discuss lightweight locks in Postgres — how they differ to (heavier) locks, some occasions they can be troublesome, and some resources for working out what to do if you hit issues.
 
Here are some links to things they mentioned:


~~~

What did you like or not like? What should we discuss next time? Let us know via a YouTube comment, on social media, or by commenting on our Google doc!


~~~

Postgres FM is produced by:


With credit to:

  • Jessie Draws for the elephant artwork
Comments 
In Channel
Archiving

Archiving

2025-12-1931:03

What's new in EXPLAIN

What's new in EXPLAIN

2025-11-2145:13

Tens of TB per hour

Tens of TB per hour

2025-11-1438:47

Gapless sequences

Gapless sequences

2025-10-3139:49

LWLocks

LWLocks

2025-10-1738:22

User management

User management

2025-10-0339:00

Postgres 18

Postgres 18

2025-09-2655:43

turbopuffer

turbopuffer

2025-09-1249:36

Disks

Disks

2025-08-2946:13

Multi-column indexes

Multi-column indexes

2025-08-2241:21

Self-driving Postgres

Self-driving Postgres

2025-08-1559:13

caSe-inSENsiTive

caSe-inSENsiTive

2025-08-0826:22

Multigres

Multigres

2025-07-1101:19:27

Multi-tenant options

Multi-tenant options

2025-06-2050:18

Mean vs p99

Mean vs p99

2025-06-1338:51

loading
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

LWLocks

LWLocks

Nikolay Samokhvalov and Michael Christofides