Nov 5
Designing a reliable unplanned failover
How Neki detects a failed Postgres primary, and chooses a new one from the WAL that survived.
PlanetScale · Engineering blog · 9.1 a month · 41 posts since Jun 25, 2026
Nov 5
How Neki detects a failed Postgres primary, and chooses a new one from the WAL that survived.
Nov 3
Network-attached storage is a fine choice and a bad default.
Oct 29
How Neki uses preflight checks, query buffering, synchronous replication, and fast rollback to make Postgres primary switchovers less disruptive.
Oct 27
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.
Oct 23
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.
Oct 21
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.
Oct 20
Postgres compatibility, read-only replicas, smaller Metal instances, Azure, and more have landed for Neki since platform preview.
Oct 14
How Neki evaluates PostgreSQL volatile expressions with the right cardinality to preserve sequence semantics across shards.
Oct 13
PlanetScale Postgres and Neki databases can now be deployed on Microsoft Azure
Oct 12
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.
Oct 8
TIN v1.0.6 supports stemming in 18 languages and is 2-3x as fast as the GA version
Oct 7
Admission controls in software determine what does or doesn't happen next, and the most common implementation has ancient roots.
Oct 6
Use dedicated read replicas to isolate read-only workloads and distribute your data across data centers around the world.
Oct 1
How Neki only decodes the parts of a PostgreSQL result the router actually needs.
Sep 28
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?
Sep 25
ARM and x86 can give you different performance at the same vCPU count. Here's what differs, what to measure, and how to choose.
Sep 23
A good Postgres search demo was doing the rounds online. Let's see what happens when we upgrade it to TIN.
Sep 22
How a full-text search engine works, and how it works in Postgres
Sep 21
Postgres understands high-availability architecture, but its defaults assume you don't have replication slots. This can get you into trouble in a cutover event.
Sep 17
Lead is a feature-equivalent version of TIN you can run in CI
Sep 16
TIN is a fast, full-featured, full-text search index for Postgres
Sep 11
We ran a massive, sharded Postgres database at 118.5 million queries per second, with 200k queries per second on each shard across 512 shards.
Sep 10
Follow a SQL query through the router, across four Postgres shards, and back.
MySQL, Postgres, Vitess and database performance.
Databases (36), Product and company (2), Reliability and performance (2) in the last six months.
Across Glyph:calendar·Downtime·Leaders·Paydays·problems·Footprint·Changefeed·salaries·socials·standards·startups·terms·Titlewave
Official checkSep 25
not reviewed to official: on planetscale.com