Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

PostgreSQL Remove topic PostgreSQL Clear all 17 posts RSS

November 2026

PlanetScale

How we migrate TBs from Heroku without logical replication

Case study 12 min +120 XP

PlanetScale's open-source Heroku Migrator moves multi-terabyte Postgres databases off Heroku standard plans, which lack WAL access and logical replication, by using Bucardo trigger-based replication: triggers record changes in delta tables, a one-time COPY loads existing data, and a worker replays the backlog before a controlled switchover with verification.

October 2026

September 2026

PlanetScale

Handling hot shards

Opinion 7 min +70 XP

When a shard key like tenant_id stops matching reality because a few whale tenants dominate load or cross-tenant queries appear, Neki (PlanetScale's sharded Postgres from the Vitess maintainers) offers three escalating fixes: vertically scale the hot shard with its own configuration profile, isolate the whale by narrowing hashed key ranges in the declarative data topology, or reshard specific tables by a better key.

The quest for software engineering knowledge.

Look:
Layout: