Postgres FM (@PostgresFM) header
Postgres FM (@PostgresFM) profile picture

A weekly podcast about all things PostgreSQL — by @michristofides and @samokhvalov. Also at https://www.teapawt.net/t.co/lQaOt18aZ0

🎧 Podcast + 📺 YouTube
Joined July 2022
Photo by Postgres FM (@PostgresFM)Photo by Postgres FM (@PostgresFM)Photo by Postgres FM (@PostgresFM)Photo by Postgres FM (@PostgresFM)Photo by Postgres FM (@PostgresFM)Photo by Postgres FM (@PostgresFM)Photo by Postgres FM (@PostgresFM)Photo by Postgres FM (@PostgresFM)Photo by Postgres FM (@PostgresFM)Photo by Postgres FM (@PostgresFM)
Postgres FM retweeted
We discuss it on @PostgresFM Why does a random UUID slow down inserts once the index outgrows memory? Kirk Wolak explains it in rally well in 75 seconds: UUIDv4 → each insert lands on a random leaf. Those leaves get evicted, so inserts keep reading pages back from disk. UUIDv7 → every new key is to the right of the last one. Only the last page is touched. Same as bigint identity. Full episode: youtu.be/gf8e3JkQ_8M
1
1
9
486
Postgres FM retweeted
Random UUID primary keys look fine on day one: id uuid default gen_random_uuid() primary key At scale, INSERTs run much slower. Postgres 18.6, 16 clients, single-row inserts, same server: → small table: UUIDv4 at 0.95–1.10x of UUIDv7 → 100M rows: 0.62–0.69x of an ordered key → WAL per row: 1.5–1.9x → index size: +33% vs UUIDv7 Each UUIDv4 insert lands on a random leaf, so the whole index is hot. Past memory, almost every insert reads a page and evicts another one. Postgres 18 has uuidv7(). For an existing table, one statement under a short lock_timeout: alter table t alter column id set default uuidv7(); 7 runs, 14 hypotheses written down before the first row. Link below 👇
9
10
1
52
3,937
Postgres FM retweeted
Two UUID traps from our tests on Postgres 18: 1. order by id desc limit 100 on a UUIDv4 table → returns the 100 largest random values, not the newest rows 2. UUIDv7 generated in the app → 16 clients with clocks spread over ±60 s → index 69% full, 45% of leaves out of order → about as bad as UUIDv4 Generate uuidv7() in Postgres. On 17 and older: the pg_uuidv7 extension or a SQL function as the column default. Full post: postgres.ai/blog/20261105-uu…
2
7
309
Postgres FM retweeted
.Give this a watch if you haven’t yet! This was a fun one. Always enjoy how candid these conversations get with @samokhvalov and @michristofides. Love @PostgresFM! 🤗❤️
New episode: "ClickHouse Managed Postgres" Nik and Michael are joined by @saisrirampur to discuss @ClickHouseDB's new managed Postgres service. 🎧️ postgres.fm/episodes/clickho… 📺️ youtu.be/jRCjB_Vy7cE
1
3
15
1,137
Postgres FM retweeted
I have participated in multiple podcasts. This is one of those I enjoy the most. It was fantastic, thank you for inviting me 🙏
New episode: "Citus + StackGres" Nik and Michael are joined by Álvaro Hernández to discuss sharding Postgres with Citus and StackGres, especially the new query router support that has been added very recently. 🎧️️️ postgres.fm/episodes/citus-s… 📺️️️ youtu.be/by4Gn3MJJOc
1
1
9
617
Postgres FM retweeted
Nice to see our recent blog post: Open-source Citus matches PlanetScale's Neki at 10M QPS on half the data nodes stackgres.io/blog/open-sourc… mentioned on Postgres Weekly news (thanks @cooperx86 ) Mentioned next to the link to @PostgresFM's episode where Citus and the benchmark were discussed: postgres.fm/episodes/citus-s… Have you listened to it?
1
2
16
840
No show today for @PostgresFM – for the 1st time in our 2.5-year history of the podcast, @michristofides and I have decided to take a week off. Have awesome holidays!
4
1
33
1,565
Postgres FM retweeted
Just listened to “Getting started with benchmarking” by @PostgresFM . Insightful. I did some query perf benchmarking a while back on postgres running on AMD vs ARM and the lessons learned today have helped me identify a couple of really good and meh things I did there 😄
1
3
252
Postgres FM retweeted
Hey @PostgresFM ! This week I have listen to your podcast for the first time. I love how you jump straight to the topic and share insightful content. Just wanted say thank you for recording. I plan to listen more 🎧
1
1
8
638
Thanks, @PostgresWeekly, for the kind words about @PostgresFM!
1
1
13
962
Postgres FM retweeted
Great @PostgresFM episode discussing transactions, analytics, and postgres. Amazing links in show notes too. Real time analytics | Postgres.FM 033 | #PostgreSQL #Postgres podcast youtu.be/El1gFalzBmA via @YouTube
1
3
7
743
Listening/watching @PostgresFM and Postgres.tv (with amazing @PostgreSQL guest experts!) you can be 100% sure that you're getting true human content -- no GPT3, 4, or any AI involved in content creation. (...yet. Should we try and convert some materials to text version? What's the best tool today for that?)
1
7
805
kudos to @PostgresFM what a cool podcast! I enjoy a lot listening to you guys! @samokhvalov and @michristofides Keep it up!
1
3
8
1,118
Join us in ~20 minutes (or watch later): Alexander Korotkov, Buffer management in @PostgreSQL youtube.com/watch?v=9Veg6ATp…
You won't want to miss this (Thu, 17UTC): youtube.com/watch?v=9Veg6ATp… – Alexander Korotkov will dive into @PostgreSQL internals. Alexander's team (@orioledb) has already made many impressive changes toward a better Postgres future. And buffer pool management is one of the key areas.
1
4
672
🐘 If you want to scale out reads with postgres standbys, important info at 20:45 for long queries reporting (stops replication on standby vs. stops vacuum on primary) youtu.be/URzYBpnkXxw?t=1245
New episode: “Replication” This week Nikolay takes us through the different replication options — looking at use cases, options, and some things to be careful of. This was another listener request, thank you! 🎙️ postgres.fm/episodes/replica… 📺 youtube.com/watch?v=URzYBpnk…
1
4
1,208
Postgres FM retweeted
I hear this topic come up a lot. Great subject for a postgres.fm episode - I'm listening now and it's a great conversation so far
Postgres FM | Version control for databases https://www.teapawt.net/t.co/PDWgFbZIq3 #postgresql #podcast
1
5
Tickled that the @PostgresFM hosts picked up my topic suggestion: HOT updates, what they are, why they matter, etc. postgres.fm/episodes/hot-upd… Homework: 1. Check out the episode. 2. Send them more #PostgreSQL topic suggestions for future episodes!
1
2