D Driftless
PostgreSQL 13–17 · 150ms Lock Ceiling

Ship multi-terabyte Postgres DDL without stalling production.

Driftless parses every pull request with libpg_query, backfills shadow tables via throttled logical replication, and executes atomic OID swaps under a strict 150ms lock timeout.

wal_level=logical · lock_timeout=150ms

Execution Plan & Cutover Guard

$ driftless apply --strategy shadow-logical --lock-timeout 150ms \
  --sql "ALTER COLUMN id TYPE bigint"

[01/04] AST Lint       → ACCESS_EXCLUSIVE rewrite detected (4.2 TB)
[02/04] Shadow Table   → _driftless_shadow provisioned (0ms lock)
[03/04] Chunk Backfill → 38,000 write QPS live · p99 +1.4 ms
[04/04] Atomic Swap    → OID cutover completed in 62 ms (safe < 150ms)

Cutover Lock

62 ms

p99 Latency Delta

+1.4 ms

Table Footprint

4.2 TB

Sustained Write QPS

38,000

Total online runtime: 3h 18m Full Benchmarks →

Core Safeguards

Built for regulated ledger clusters.

Lock ceiling: 150msCutover mode: Logical shadowEngine support: PG 13–17
01

Static DDL Linter

Flags table rewrites and blocking locks inside pull requests.

02

Shadow Table Orchestrator

Backfills multi-terabyte tables through throttled logical replication.

03

Lock-Timeout Guard

Retries atomic cutover windows without stalling production queries.

04

Reverse-Delta Ledger

Streams post-cutover mutations backward for sub-second schema rollback.