Skip to content

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

Topics Data & databases

Databases

Database usage, design or operation (general).

Search within Databases, or combine it with other topics →

Last week

Week of Nov 16

Neon

Postgres 19 is out: try it on Neon

Release 12 min +120 XP

Postgres 19 is an operations-focused release that adds REPACK (CONCURRENTLY) for online table rebuilding and clustering via logical decoding, pg_plan_advice/pg_stash_advice for stabilizing bad plans by query ID, parallel autovacuum with priority scoring, WAIT FOR LSN for read-your-writes on replicas, and logical replication sequence sync.

Evil Martians

We stopped a Railway migration 3 weeks out. How to know to stop or go?

Case study 11 min +110 XP

Evil Martians called off a high-load Rails migration from Engine Yard to Railway three weeks before cutover because Railway's mid-transition hardware fleet made database import times unpredictable: the same MySQL dump took 71 minutes on a GCP burst VM, 97 on Gen 2 AMD EPYC Metal, and 382 on Gen 1 Intel Xeon Metal, so a 3-4 hour maintenance window could not be guaranteed.

ClickHouse

How Infinitas Learning uses ClickHouse Managed Postgres to process billions of events for 1.6M unique learners

Case study 9 min +90 XP

Infinitas Learning runs transactional learner-result processing on Postgres, with PL/pgSQL functions serving as the API in place of an earlier Kafka/Flink event-sourced pipeline, and customer-facing analytics on ClickHouse.

Week of Nov 9

Turso

A database per agent: how Turso and Neon give different answers

Opinion 10 min +100 XP

Neon and Turso both support a database per agent but differ in the unit: Neon gives each agent a Postgres project with its own autoscaling compute that suspends after 5 minutes idle and is billed by CU-hour, while Turso treats each SQLite-compatible database as a file managed by a shared server, billed by rows read/written and storage with unlimited databases on paid plans.

Week of Nov 2

Cockroach Labs

CockroachDB 26.4: One major upgrade a year with skip-level upgrades, run active-active across two data centers, and encrypt for the post-quantum era

Release 7 min +70 XP

CockroachDB 26.4 introduces skip-level upgrades so operators can move from one annual .4 release to the next without stopping at intermediate releases, and adds active-active writes across two data centers via transactional logical data replication.

Week of Oct 26

Week of Oct 19

Week of Oct 12

Week of Oct 5

Week of Sep 28

Week of Sep 21

Week of Sep 14

TigerBeetle

High-Throughput OLTP in Three Simple Steps

Deep dive 7 min +70 XP

Migrating a TPC-B-style bank workload (accounts, tellers, branches, history) from a general-purpose SQL model to TigerBeetle yields roughly 100x throughput when three techniques are applied: modeling each transaction as linked debit/credit transfers with an aggregate account, relying on batching instead of client concurrency, and using monotonic time-based IDs.

ClickHouse

Introducing ClickHouse's new TimeSeries Engine: Your drop-In Prometheus replacement

Announcement 11 min +110 XP

ClickHouse Cloud's private preview adds a TimeSeries table engine and server-side PromQL evaluation, so Prometheus metrics arrive via remote-write v1 and are queried with unchanged PromQL from Grafana, the Prometheus HTTP API, clickhouse-client's promql dialect, SQL table functions, or ClickStack.

Week of Sep 7

Week of Aug 31

ClickHouse

New system views in PostgreSQL 19

Deep dive 12 min +120 XP

PostgreSQL 19 (in beta) adds four system views, and three of them get hands-on demos. pg_stat_lock gives cumulative per-locktype wait counts, wait time and fastpath_exceeded counters, though waits only count once they pass deadlock_timeout. pg_stat_recovery returns standby replay state as one atomic, consistent snapshot. pg_stat_autovacuum_scores shows the new score-based autovacuum prioritization, tunable through five weight parameters.

Week of Aug 24

The quest for software engineering knowledge.

Look:
Layout: