Skip to content

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

Schema migrations Remove topic Schema migrations 111 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

Supabase

Declarative Schemas 2.0 with pg-delta

Announcement 11 min +110 XP

Supabase replaced migra with pg-delta, its own open-source Postgres diff engine, as the generator behind declarative schema migrations in the Supabase CLI. pg-delta loads schema files and migration history into two shadow databases, diffs them by reading the system catalog, and orders output with a catalog-derived dependency graph.

September 2026

August 2026

June 2026

March 2026

ClickHouse

How Socialpruf built a faster, more reliable data stack by replacing Neon with Postgres managed by ClickHouse

Case study 7 min +70 XP

Socialpruf, a social analytics platform ingesting hundreds of posts per second, moved customer-facing dashboard queries from Postgres to ClickHouse via CDC, cutting multi-second load times to millisecond aggregations.

February 2026

January 2026

December 2025

Neon

Why Your Staging Database Never Matches Production

Opinion 8 min +80 XP

Staging databases drift from production continuously in three ways: data drift (stale dumps, sequence values that diverge so the same ID points to different records), schema drift (hotfixes, skipped migrations, mismatched indexes and extensions causing query plan divergence), and transformation drift (anonymization that breaks uniqueness, referential integrity and determinism).

November 2025

October 2025

September 2025

August 2025

July 2025

June 2025

Breaking up a monolith: How we’re unwinding a shared database at scale

Case study 20 min +200 XP

Datadog is splitting its large shared Postgres database into independently owned instances through a three-phase plan: logical separation into per-domain private schemas with explicit ACLs, access reduction so only owning teams query their tables directly, and physical separation onto managed OrgStore instances.

May 2025

The quest for software engineering knowledge.

Look:
Layout: