Skip to content

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

Scaling Remove topic Scaling Clear all 5 posts RSS

2026

2023

Supabase

Dynamic Table Partitioning in Postgres

How-to 20 min +200 XP

Postgres range partitioning can be retrofitted onto an existing "large table" (here, 500 million chat messages) without blocking queries by creating standalone daily child tables, bulk-loading them, adding a CHECK constraint that matches the partition range, and only then running ATTACH PARTITION so Postgres skips the validation scan and its blocking lock.

2021

The quest for software engineering knowledge.

Look:
Layout: