DiscoverPostgres FMMultiXact member space exhaustion
MultiXact member space exhaustion

MultiXact member space exhaustion

Update: 2025-07-18
Share

Description

Nikolay and Michael are joined by Andrew Johnson and Nate Brennand from Metronome to discuss MultiXact member space exhaustion — what it is, how they managed to hit it, and some tips to prevent running into it at scale.
 
Here are some links to things they mentioned:

And here's the formula discussed for calculating how the member space can grow quadratically by the number of overlapping transactions:

  • Members can be calculated via: aₙ = 2 + [sum from k=3 to n+1 of k]
  • This simplifies to: aₙ = (((n+1)(n+2))/2) - 1


~~~

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 special thanks to:

  • Jessie Draws for the elephant artwork 
Comments 
In Channel
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

What to log

What to log

2025-06-0648:34

How to move off RDS

How to move off RDS

2025-05-3047:33

Locks

Locks

2025-05-2338:53

synchronous_commit

synchronous_commit

2025-05-0250:53

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

MultiXact member space exhaustion

MultiXact member space exhaustion

Nikolay Samokhvalov and Michael Christofides