Postgres FM

UUIDv4 vs UUIDv7

Share this episode
Anyone with this link can open it.
Share Link
Start at 0:00

This episode isn’t summarized yet

Create a free account and summarize it. In a few minutes you’ll have the key takeaways and a section-by-section summary.

Show notes

Tip: watch on YouTube. Since episode 193, the video shows charts and illustrations as we talk. https://www.youtube.com/watch?v=gf8e3JkQ_8M

 

Nik is joined by Kirk Wolak to discuss what a random UUIDv4 primary key really costs compared with a time-ordered UUIDv7 or an int8 key on Postgres 18 — index size, WAL and full-page writes, insert rate once the index outgrows memory — and what DBLab Forge found when it ran the experiment.
 
Here are some links to things they mentioned: 
Times are podcast times of the first mention.


Main link


Hacking sessions


Episodes


Postgres


Standards and ID schemes


Articles, books and tools


~~~

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
  • Intro and outro music: our own arrangement of Apple Loops from GarageBand (royalty-free under the GarageBand licence)
Couldn't load the audio. A blocker may be stopping the show's tracking links. Open the file