Тёмный

Partitioning by ULID | Postgres.FM 077 |  

PostgresTV 💙💛
Подписаться 4,2 тыс.
Просмотров 637
50% 1

[ 🇬🇧_🇺🇸 Check out the subtitles - we now edit them, ChatGPT+manually! You can also try RU-vid's auto-translation of them from English to your language; try it and share it with people interested in Postgres!]
Nikolay and Michael discuss partitioning by ULID - revisiting some of the old UUID vs bigint key debate in light of some new UUID specs, and how these can be used for partitioning (by time).
Here are some links to things they mentioned:
Nikolay’s episode on UUID (for primary keys) postgres.fm/ep...
Postgres TV hacking session with Andrey and Kirk: • Hacking Postgres 101 -...
UUIDv7 patch commitfest.pos...
Use ULID Idempotency Keys (tip 6 in this blog post from Shopify) shopify.engine...
Nikolay’s howto post on UUID v7 and partitioning with TimescaleDB gitlab.com/pos...
Hussein Nasser’s RU-vid video about the above • How Shopify’s engineer...
UUID proposal that includes UUIDv7 and UUIDv8 (work in progress): datatracker.ie...
James Blackwood-Sewell advice on more elegant solution using TimescaleDB / 1730125437903450129
ULIDs and Stripe IDs (section of Identity Crisis blog post by Brandur) brandur.org/na...
Crunchy Bridge changed their default random_page_cost to 1.1 🙌 / 1720477470116422028
UUIDs vs serials for keys (newer post from Christophe Pettus) thebuild.com/b...
~~~
What did you like or not like? What should we discuss next time? Let us know in the comments, or by tweeting us on @samokhvalov / samokhvalov and @michristofides / michristofides
~~~
Postgres FM is brought to you by:
Nikolay Samokhvalov, founder of Postgres.ai postgres.ai/
Michael Christofides, founder of pgMustard pgmustard.com/
~~~
This is the uncut version, with video. Check out Postgres.fm to find audio-only podcast episodes, edited for convenient listening.

Опубликовано:

 

11 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
@kirkwolak6735
@kirkwolak6735 9 месяцев назад
Excellent Episode. I actually love the idea of partitioning by the timestamp component. Having a function to extract that. And I believe ONE of the UUID standards allowed for a "character" that could be assigned to the specific server, which was a way cool way to prevent duplicates with the loss of randomness... And the SAVINGS of removing the created_at column... Nice. And not having to index that (right?). Especially if you are mostly sorting, or filtering AFTER the find... That's a lot of small wins! I am curious what ChatGPT thinks about it? (LOL)
@shahkey4u
@shahkey4u 9 месяцев назад
Take a look at Timescaledb
Далее
GENIUS FOOD HACKS 🍰 #shorts
00:36
Просмотров 7 млн
The effect of Random UUID on database performance
18:51
Solving one of PostgreSQL's biggest weaknesses.
17:12
Просмотров 199 тыс.