PlanetScale Blog
planetscale.com · Company blog · on HN since 2018
The engineering and company blog of PlanetScale, a hosted database company, covering MySQL, Postgres, indexes, and Go performance.
What HN saysHN commenters recommend PlanetScale for its generous free tier and sharding, and the company posts job openings in hiring threads.
211HN people shared it
99linked it in comments
259stories submitted
7.2Kstory points
2 months agolast shared
2018people per year2026
Most-shared posts
- 1PlanetScale Updated to Plaintext Website19 people · 31 points · first shared 2018 · 4 comments on HN
- 2Generics can make your Go code slower15 people · 450 points · first shared 2022 · 408 comments on HN
- 3B-Trees and Database Indexes7 people · 353 points · first shared 2024 · 79 comments on HN
- 4Pricing6 people · first shared 2021
- 5How PlanetScale Boost serves SQL queries faster5 people · 206 points · first shared 2022 · 87 comments on HN
- 6PlanetScale for Postgres5 people · 149 points · first shared 2025 · 22 comments on HN
- 7The problem with using a UUID primary key in MySQL5 people · 17 points · first shared 2024 · 1 comments on HN
- 8Video Conferencing with Postgres5 people · 13 points · first shared 2026 · discussion on HN
- 9Benchmarking Postgres 17 vs. 184 people · 194 points · first shared 2025 · 64 comments on HN
- 10The Slotted Counter Pattern4 people · 155 points · first shared 2022 · 31 comments on HN
- 11The PlanetScale vectors public beta4 people · 137 points · first shared 2024 · 35 comments on HN
- 12It’s fine, Rewind: Revert a migration without losing data4 people · 136 points · first shared 2022 · 37 comments on HN
- 13The principles of extreme fault tolerance4 people · 28 points · first shared 2025 · 1 comments on HN
- 14PlanetScale Metal: There's no replacement for displacement4 people · 14 points · first shared 2025 · 1 comments on HN
- 15Larger Than RAM Vector Indexes for Relational Databases4 people · 14 points · first shared 2025 · discussion on HN
What HN people wrote when they linked it
mble_ · 2026-06-01
PlanetScale | https://planetscale.com/ | Software Engineer - PlanetScale Postgres | Remote (AMER, LATAM & EMEA) | Base range: $120,000 - $290,000 USD
I'm the hiring manager for this position.
Come build the best Postgres product on the planet with super talented folks, very high autonomy, tier-zero databases for some of the biggest and fastest growing data sets.
Apply at https://job-boards.greenhouse.io/planetscale/jobs/4251150009.
Feel free to contact me on LinkedIn or Bluesky if you'd like to talk more about the role. Tell me why Postgres extensions are both great and terrible.
joshstrange · 2022-05-25
Check out PlanetScale [0] (if you use MySQL). Their hobby tier is free and very generous. If you get to the point of needing more, $30/mo isn't bad for what you get. It's way better than Aurora Serverless V1 or V2 which I was super excited for but turned out to not be worth it all. It failed scaling so much that I had to crank it up before an event or it would never find a good "migration point" or whatever they called it. Aurora Serverless' marketing is straight lies and their pricing is opposite of what I think of when I hear "serverless", $45/mo per DB if you want a single instance in V1 or 0.5 of one in V2. At least V1 allowed you to scale to 0, they removed that in V2.
[0] https://planetscale.com/
orware · 2022-04-07
It's still a bit early for the company but if you like RDS, PlanetScale might be worth a look too: https://planetscale.com/
tedpower · 2022-04-05
PlanetScale is an awesome DB that handles sharding and size-balancing — plus they have an incredible free tier. https://planetscale.com/
Rust is a memory-safe systems programming language that has earned the title of most beloved language on StackOverflow’s annual developer survey for the past six years running. https://www.rust-lang.org/
These two technologies seemed like a match made in heaven. The best in database technology with an unbeatably fast and secure access layer. There was just one problem…
…no one had ever done it before. Until now! Let us know if you have any questions :)
gh5000 · 2026-05-25
typo in link - should be https://planetscale.com/blog/rls-sounds-great-until-it-isnt
game_the0ry · 2026-04-13
This has been post before, but planetscale also has a great sql for developers course:
https://planetscale.com/learn/courses/mysql-for-developers
rishabhaiover · 2026-02-22
Thank you for sharing it, kind sir. Your explanation on b+trees (https://planetscale.com/blog/btrees-and-database-indexes) is probably the best one I've ever seen on the internet.
graveland · 2025-10-30
(I'm on the team that made this)
The raw numbers are one thing, but the overall performance of pg is another. If you check out https://planetscale.com/blog/benchmarking-postgres-17-vs-18 for example, in the average QPS chart, you can see that there isn't a very large difference in QPS between GP3 at 10k iops and NVMe at 300k iops.
So currently I wouldn't recommend this new storage for the highest end workloads, but it's also a beta project that's still got a lot of room for growth! I'm very enthusiastic about how far we can take this!
n_u · 2025-09-22
Hi, thank you for your work on this and being willing to answer questions on it.
"We guarantee durability via replication". I've starting noticing this pattern more where distributed systems provide durability by replicating data rather than writing it to disk and achieving the best of both worlds. I'm curious
1. Is there a name for this technique?
2. How do you calculate your availability? This blog post[1] has some rough details but I'd love to see the math.
3. I'm guessing a key part of this is putting the replicas in different AZs and assuming failures aren't correlated so you can multiply the probabilities directly. How do you validate that failures across AZs are statistically independent?
Thanks!
[1] https://planetscale.com/blog/planetscale-metal-theres-no-replacement-f…
hollylawly · 2025-09-22
More information about bloat detection here: https://planetscale.com/docs/postgres/monitoring/schema-recommendation…
dfee · 2025-09-22
i'll take the opposite side. i was very impressed with their website.
the very first line:
> The world’s fastest and most scalable cloud databases
the second line:
> PlanetScale brings you the fastest databases available in the cloud. Both our Postgres and Vitess databases deliver exceptional speed and reliability, with Vitess adding ultra scalability through horizontal sharding.
i know exactly what they do. zero fluff. and, i'm now interested.
https://planetscale.com/
bddicken · 2025-08-12
It's real Postgres operated by PlanetScale. You get HA by default, the best performance, query insights, etc.
https://planetscale.com/blog/benchmarking-postgres
anthonyronning · 2025-08-12
Their dashboards and metrics are really good. Plus the performance is great even on their non-metal offering too. I hope to one day be able to justify the upgrade to it.
Here's their announcement blog post with a bit more info, like their benchmarks:
https://planetscale.com/blog/planetscale-for-postgres
sgloutnikov · 2025-01-04
Great article! Here's one more, including animations on B-trees: https://planetscale.com/blog/btrees-and-database-indexes
AYBABTME · 2024-02-21
Love the work. Looks quite similar to what PlanetScale Boost does[1]. Basically the same but as a front-end to someone's existing database? (disclaimer: I work at PS).
[1]: https://planetscale.com/blog/how-planetscale-boost-serves-your-sql-que…
NayamAmarshe · 2023-07-08
All you need to know is, Tailwind is used by some of the best designers and websites in the world.
https://www.openai.com/
https://www.shopify.com/
https://www.netflix.com/tudum/top10/
https://www.theverge.com/
https://www.loom.com/
https://githubnext.com/
https://planetscale.com/
cscheueuer · 2023-02-17
Besides the obvious (Stripe), WorkOS treats their docs as a product and is probably my all time favorite (just look at their arrow key shortcuts).
WorkOS: https://workos.com/docs
Twingate: https://www.twingate.com/docs/
Railway: https://docs.railway.app/
Planetscale: https://planetscale.com/
Evervault: https://docs.evervault.com/
Mintlify is also the best alternative to ReadMe or GitBook that I've found.
thatwasunusual · 2023-01-05
That is pretty great, especially with such a generous free plan for testing.
However, no support for FOREIGN KEYs is a bit of a bummer. However, they explain it very well.[0]
Thanks for the reply! Will definitely give PlanetScale a try over the weekend!
[0] https://planetscale.com/docs/learn/operating-without-foreign-key-const…
nickvanw · 2022-11-15
Great question! We have a technical blog post about how PlanetScale Boost is implemented: https://planetscale.com/blog/how-planetscale-boost-serves-your-sql-que…
In short, it can be compared in consistency to an up-to-date read replica; PlanetScale Boost uses Vitess' VStream to process events as they happen and keep itself up to date. The blog has much more information if you're curious.
danielvaughn · 2022-06-25
I don't know about how postgres compares to others, but if you're looking for an easy-to-manage relational DB, there are a handful of new cloud-native databases that have come out in the last few years. The ones I know of are Planetscale and Cockroach DB.
https://planetscale.com/
https://www.cockroachlabs.com/
ascorbic · 2022-06-22
You don't run the database itself there, you connect to it remotely. I've not had a chance to try them yet, but PlanetScale Portals look like a great solution there. https://planetscale.com/blog/introducing-planetscale-portals-read-only…
russellthehippo · 2022-06-07
Serverless DBaaS providers and HTTP APIs are a huge new development. Mongo Atlas Serverless, Planetscale (MySQL/Vitess https://planetscale.com), Upstash (Redis, https://upstash.com) and Neon (upcoming Postgres). They add features like merge requests on DDL and make managing DBs as easy as managing Lambda functions. This reduces maintenance overhead significantly.
ctvo · 2022-05-20
That's an excellent guideline. I want to throw another example into the ring if folks are researching this space:
Planetscale does a good job at https://planetscale.com/blog
In particular "Generics can make your Go code slower"[1] which received deservedly a lot of attention here.
1 - https://planetscale.com/blog/generics-can-make-your-go-code-slower
dolmen · 2022-04-25
About "Why is this so much slower?" this article is a must-read:
https://planetscale.com/blog/generics-can-make-your-go-code-slower
excuses_ · 2022-04-13
I wouldn't say it's the whole point but very important one. For simple types the current Go implementation does produce monomorphic functions but for others, for example interfaces and other pointer types, it does pass around a dict with metadata in runtime.
Check out this excellent blog post: https://planetscale.com/blog/generics-can-make-your-go-code-slower.
siquick · 2021-11-23
Planet Scale is probably the closest to what you're describing here.
https://planetscale.com/
ericyan · 2021-07-29
Or even better, something like PlanetScale [1]. It was founded by the maintainers of Vitess.
[1]: https://www.planetscale.com/
ksec · 2021-07-21
>For MySQL you have to do manual sharding which is extremely hard.
Vitess [1] and PlanetScale [2] ?
[1] https://vitess.io
[2] https://www.planetscale.com
benjiro · 2025-08-12
You forgot the read the original text above my response.
> I looked Neon recently, and it appears that it's designed as a SaaS product from the outset; while it is technically possible to self-host the individual components of the architecture, it does not look trivial, in large part because the control plane is closed source (and probably extremely specific to Neon's SaaS operations).
This is a good reason to go with multigres vs Neki (assuming Neki gets integrated into planetscale vs a standalone multigres ).
The two announcement's regarding Neki smells like its going to be proprietary or heavily tied into planetscale. See the gauging interest two months ago with sign ups. The current signing up ... Feel very marketing focused.
https://planetscale.com/blog/planetscale-for-postgres#nova-vitess-for-…
> If your company runs Postgres at a significant scale and this is something that interests you, reach out.
> Sign up for the private preview of PlanetScale for Postgres waitlist here.
https://planetscale.com/blog/announcing-neki
> To stay up to date with the latest developments on Neki you can signup at neki.dev.
Where as the multigres via Supabase points to github repo's, the license, etc...
https://supabase.com/blog/multigres-vitess-for-postgres
> Like Vitess, Multigres will be open source using the same license: Apache 2. You can follow the repo here.
We shall see, but one is running and acting like pure open source project, and another is being announced…
dkpk · 2025-04-25
https://planetscale.com/ would be a good bet.