Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Query planning is hard. Doing so in a massive, sharded database is even harder. The blog we published today at PlanetScale was a labor of love. So many people from across the company helped with technical accuracy, writing, visuals, and making it the best it can be. This was...

76,234 görüntüleme • 6 gün önce •via X (Twitter)

19 Yorum

MetaGunny profil fotoğrafı
MetaGunny6 gün önce

Great article! I can't stand when people use I'd as the primary key name Like yeah let's use is but on the fks use customerid

Aleksandar Hadžibabić profil fotoğrafı
Aleksandar Hadžibabić6 gün önce

I think the greatest challenge with understanding how it works is that many people never faced problems that you're solving themselves. Hard to go from theory to practice in this field. Great blogpost and visuals! 🚀

wolfie profil fotoğrafı
wolfie6 gün önce

gorgeous animations

Charles profil fotoğrafı
Charles5 gün önce

The animations are so great! Would love to see how you guys build those too

Sagar Dua 🇮🇳 profil fotoğrafı
Sagar Dua 🇮🇳6 gün önce

+1 for blog 👍 Neki supports consistent hash as the sharding method only? Do cross-shard queries scale well -- didnt notice much mentioned about it in the blog.

Preyforge profil fotoğrafı
Preyforge6 gün önce

the cross-functional part is the real craft here. i make handoffs explicit and keep the complaint verbatim; a polished query plan is only useful when the next person can see what changed and why.

Jye profil fotoğrafı
Jye6 gün önce

Have you written/talked about how you cooridate content work like this? It's excellent btw

Sumit Kumar profil fotoğrafı
Sumit Kumar6 gün önce

Went for the cool animations directly and learnt from blog

Morteza Hosseini profil fotoğrafı
Morteza Hosseini6 gün önce

Looks nice

paske profil fotoğrafı
paske5 gün önce

damn

Ben Mo profil fotoğrafı
Ben Mo6 gün önce

Following one customer and their orders makes the shard-key decision click. You can see why a perfectly ordinary JOIN suddenly has a travel budget. More database explanations should start with where the rows actually live.

Deep S Shah🇮🇳 profil fotoğrafı
Deep S Shah🇮🇳6 gün önce

Time to develop Neki, 1 month, the blog post, 2 months

Abhishek Sahu profil fotoğrafı
Abhishek Sahu6 gün önce

Can u post more on this

Crio Songo profil fotoğrafı
Crio Songo6 gün önce

查询规划确实越复杂越难搞,尤其是分库场景下坑真多,我晚上去看看这篇博客学习下。

Valentyn Kit 🦀 | Rust · Solana profil fotoğrafı
Valentyn Kit 🦀 | Rust · Solana6 gün önce

planetscale writeups are consistently worth the read, looking forward to this one.

nana kong ✞ profil fotoğrafı
nana kong ✞6 gün önce

please keep this comment you have taught me so much in the past three months then I could’ve dreamed of, for years I kind of just put off DBA tasks but I realize now that’s where all the alpha is 🫱🏾‍🫲🏻

shaurya pratap singh sisodia profil fotoğrafı
shaurya pratap singh sisodia6 gün önce

This is really amazing work

Shrey Gupta profil fotoğrafı
Shrey Gupta6 gün önce

great talk!

Adam · silent data failures profil fotoğrafı
Adam · silent data failures6 gün önce

The sharded case is where a planner stops being an optimisation and becomes a correctness surface, because a plan that fans out to the wrong shard still returns rows. What we watch is whether the row count matches across a re-plan. Does the post cover plan stability?

Benzer Videolar

A DEVELOPER FOUND SEVEN WAYS TO TAKE DOWN A PRODUCTION DATABASE THAT ALL LOOK EXACTLY LIKE NORMAL, INNOCENT CODE AND ALMOST EVERY TEAM IS SHIPPING AT LEAST ONE OF THEM RIGHT NOW 17 minutes from Josh Berkus, one of the people who actually maintains PostgreSQL, walking through the quiet mistakes that turn a healthy database into a 3am outage. -> The moment it lands, you realize none of these are exotic attacks. They're ordinary-looking decisions -- a query that locks a table, a connection that never closes, a setting no one ever questioned -- that work perfectly until the day they don't, and then they take everything down with them. The scary part isn't that the database breaks. It's how normal the code looks right up until it does. A query that runs in 5ms on your laptop and 5 minutes on prod. A migration that silently locks the whole table. A connection pool that runs dry the moment real traffic shows up. Every one of them passed review. Writing SQL that runs was never the hard part -> writing SQL that survives production is. And now that an AI agent is generating and firing queries at your real database faster than anyone can read them, every one of those seven landmines is one autocomplete away -- and the only person who can stop it is the one who already knows where they're buried. Your database doesn't go down because someone attacked it. It goes down because something that looked completely normal finally caught up with it. Save and Watch it today. You'll see the next outage coming before it lands ↓

slash1s

22,268 görüntüleme • 3 ay önce