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

Week of Aug 17

RocksDB Blog

Native Async/Coroutine Reads in RocksDB

Deep dive 10 min +100 XP

RocksDB 11.10.0 adds experimental native asynchronous Get/MultiGet APIs (callback-based GetAsync/MultiGetAsync and Folly-task-based CoroDB::CoGet/CoMultiGet) that suspend a read at the SST block-miss filesystem boundary and resume it on the same io_uring-backed EventBase thread, so a small read executor can sustain high storage queue depth without one parked thread per read.

Week of Aug 10

Week of Jul 27

Week of Jul 13

ClickHouse

How Bullet uses ClickHouse Cloud to give DeFi's fastest exchange real-time analytics

Case study 9 min +90 XP

Bullet, a Rust-based DeFi perpetuals exchange running as an app-specific rollup on Solana with ~500μs p50 order processing, indexes 150M+ rows per hour of sequencer events into ClickHouse Cloud for trade history, real-time analytics and monitoring.

Week of Jul 6

Week of Jun 29

Week of Jun 22

Week of Jun 15

RocksDB Blog

Range Tombstone Conversion: Faster Scans Over Long Runs of Deletes

Deep dive 8 min +80 XP

RocksDB 11.3.0 adds range tombstone conversion: when a read iterator walks a run of contiguous point tombstones with no live key between them, it inserts one redundant range tombstone [first_tombstone_key, next_live_key) into the memtable at the iterator's snapshot sequence number.

Week of Jun 1

Week of May 11

Week of May 4

Week of Apr 27

Week of Apr 6

Week of Mar 30

Week of Mar 23

Week of Mar 16

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.

ClickHouse

Designing the new async-native ClickHouse Python client

Deep dive 12 min +120 XP

The new async-native clickhouse-connect client replaces the legacy thread-pool wrapper with aiohttp for network I/O and a half-sync/half-async design: an async producer streams response chunks into a bounded queue (10 chunks of up to 1MB) while the existing synchronous Native-format parser consumes them in an executor thread, with the same queue reversed for inserts.

Week of Mar 9

Week of Mar 2

Week of Feb 23

Week of Feb 16

Week of Feb 9

Week of Feb 2

Week of Jan 26

Week of Jan 19

Week of Jan 12

The quest for software engineering knowledge.

Look:
Layout: