Skip to content
← All sources

PlanetScale

Company engineering blog

Mute PlanetScale?

Its posts will be hidden from Latest, topic feeds and Favourites in this browser.

Your saved links, read history and favourite selection stay unchanged. You can still open the source’s own page.

Unmute it here or in Reading preferences whenever you like.

Posts about the PlanetScale platform, MySQL, PostgreSQL, databases, and more.

20 posts in the last 90 days · newest 23 Nov

20 of 20 posts on this page

Enrique Gonzalez

Building PlanetScale with Insights Agent

Three fixes Insights Agent made to our own Rails API: a reordered feature flag check, an index that made a query slower, and an index that took a query from seconds to milliseconds.

5 min read

Elom Gomez

Introducing Insights Agent

Insights Agent connect to your codebase to turn slow queries and schema recommendations into pull requests.

5 min read

Dmitrii Anisovich

How we migrate TBs from Heroku without logical replication

We've equipped our customers with an open source tool that not only quickly transfers your data but also provides a replication-based experience, so that any user can migrate from Heroku without extended downtime or the need to purchase a third-party product.

11 min read

Simeon Griggs

What was the turning point for Postgres?

Postgres is the most popular database choice among developers. Postgres is the default choice for agents, powering countless applications where those new to app building don't even know what a database is. Every major cloud offers hosted Postgres.

10 min read

Rohit Nayak

Shard design doesn't start from your tables

Shard group design starts from your queries, not your tables. Find the key that your most important queries and transactions share, and put every table that carries that key in one group.

7 min read

Tom Pang

I don't trust ON DELETE CASCADE

A one-line convenience in your database schema can become an outage. There are better ways to delete data that won't risk locking up your database.

5 min read

Mats Rydberg

Sequences and other volatiles in Neki

How Neki evaluates PostgreSQL volatile expressions with the right cardinality to preserve sequence semantics across shards.

13 min read

Ahmed Darwich

What gets TOASTed in Postgres

Postgres 19 switches TOAST compression from pglz to LZ4. LZ4 is faster, but it isn't always smaller, and some reads get slower with it.

11 min read

Dirkjan Bussink

Building a faster, lazier router for Postgres

Nothing is as fast as not doing anything. How Neki keeps great performance by only decoding the parts of a PostgreSQL result the router actually needs.

15 min read

Simeon Griggs

Handling hot shards

What makes a good sharding strategy today might not work so well tomorrow. What happens when you have one tenant hitting your database orders of magnitude more than any other? Or product managers knocking down your door with new requirements? If you're already on Neki…

6 min read