---
title: "Storage engines (medium)"
description: "B-trees, LSM trees, WAL, on-disk formats, database internals"
url: "https://swe.quest/tags/storage-engines?difficulty=medium"
---

# Storage engines (medium)

Topic in Data & databases: B-trees, LSM trees, WAL, on-disk formats, database internals

By difficulty: [Easy](https://swe.quest/tags/storage-engines.md?difficulty=easy) · [Medium](https://swe.quest/tags/storage-engines.md?difficulty=medium) · [Hard](https://swe.quest/tags/storage-engines.md?difficulty=hard)

Posts 1–24 of 82, page 1 of 4, newest first.

## 2026-11-25

- [Rethinking read replicas for the lakebase architecture](https://swe.quest/articles/rethinking-read-replicas-for-the-lakebase-architecture-35eaea5162536008.md): Neon · 2026-11-25 · Medium · 15 min read · PostgreSQL, Replication, Storage engines, Cloud platforms, Cost optimization
  Lakebase Postgres implements read replicas as additional read-only computes attached to the same disaggregated storage as the primary, rather than as physical clones with their own volumes.

## 2026-11-17

- [How we scaled metrics aggregation by moving durable state into storage](https://swe.quest/articles/how-we-scaled-metrics-aggregation-by-moving-durable-state-into-storage-09bea3fd544962da.md): Datadog Engineering · 2026-11-17 · Medium · 12 min read · Stream processing, Scaling, Observability, Storage engines, Distributed systems
  Datadog's metrics aggregation service, which merges DDSketch distributions to reduce tag dimensions, went through three generations as volume grew roughly 10× each time.

## 2026-11-05

- [Lakebase Postgres is built on object storage, but 99.99999% of reads never touch it](https://swe.quest/articles/lakebase-postgres-is-built-on-object-storage-but-99-99999-of-reads-never-touch-66e3f7227042e0f9.md): Neon · 2026-11-05 · Medium · 7 min read · PostgreSQL, Storage engines, Caching, Storage systems, Performance engineering
  Lakebase Postgres stores durable history in object storage but keeps it off the read path through tiered caching.

## 2026-10-28

- [OrioleDB public beta: a Postgres storage engine for update-heavy tables](https://swe.quest/articles/orioledb-public-beta-a-postgres-storage-engine-for-update-heavy-tables-ae2bdb2a212d7827.md): Supabase · 2026-10-28 · Medium · 5 min read · PostgreSQL, Storage engines, Performance engineering
  OrioleDB, an open-source Postgres storage engine plugged in via the Table Access Method, is now in public beta on all Supabase plans.
- [Why ClickHouse Cloud wins at real-time analytics](https://swe.quest/articles/why-clickhouse-cloud-wins-at-real-time-analytics-ff3bf2806ccb7be7.md): ClickHouse · 2026-10-28 · Medium · 21 min read · Analytics & OLAP, Storage engines, Query engines, Performance engineering, Cost optimization
  In the CostBench streaming benchmark (113.2 billion stock quotes ingested at about 1M rows/s while queries ran), ClickHouse Cloud scored 412× to 1,996× better end-to-end performance per dollar than Snowflake, Databricks, BigQuery and Redshift Serverless.

## 2026-10-12

- [What gets TOASTed in Postgres](https://swe.quest/articles/what-gets-toasted-in-postgres-267438c13f618a84.md): PlanetScale · 2026-10-12 · Medium · 13 min read · PostgreSQL, Storage engines, Performance engineering
  Postgres TOAST kicks in once a row exceeds 2,032 bytes, compressing variable-length values largest-first and moving them into chunked pg\_toast tables (1,996-byte chunks, 18-byte in-row pointers) when compression isn't enough.

## 2026-09-29

- [From v0.7 to v0.8: How group commit changed Turso's tail latency](https://swe.quest/articles/from-v0-7-to-v0-8-how-group-commit-changed-turso-s-tail-latency-395b8a8a61113276.md): Turso · 2026-09-29 · Medium · 13 min read · Storage engines, SQLite, Performance engineering, Concurrency, Databases
  Turso v0.8 adds group commit to its MVCC write path so that concurrent committers share a single fsync of the logical log instead of each paying for their own.
- [Turso 0.8: Concurrent writes without SQLite's single-writer bottleneck](https://swe.quest/articles/turso-0-8-concurrent-writes-without-sqlite-s-single-writer-bottleneck-12eb79dda642476c.md): Turso · 2026-09-29 · Medium · 6 min read · SQLite, Concurrency, Performance engineering, Storage engines, Query engines
  Turso 0.8 targets SQLite's single-writer bottleneck with BEGIN CONCURRENT, an MVCC mode where transactions start independently and commit in groups.

## 2026-09-28

- [Inside branch-based restores in Lakebase Postgres](https://swe.quest/articles/inside-branch-based-restores-in-lakebase-postgres-fb20eff343886385.md): Neon · 2026-09-28 · Medium · 8 min read · PostgreSQL, Storage engines, Databases, AI agents
  Lakebase Postgres turns point-in-time restore into a metadata operation: creating a branch at a timestamp that points at existing immutable page history, rather than provisioning an instance, hydrating a snapshot from S3 and replaying WAL.

## 2026-09-22

- [Anatomy of a (Postgres) search engine](https://swe.quest/articles/anatomy-of-a-postgres-search-engine-ef0fff51702b4f16.md): PlanetScale · 2026-09-22 · Medium · 12 min read · Search, PostgreSQL, Data structures, Storage engines
  Inverted indexes power full-text search by mapping each term to a sorted, compressed postings list of document IDs, with optional positional data for phrase/span queries and frequency statistics for BM25 scoring.

## 2026-09-17

- [Postgres DELETE Can Actualy Scale](https://swe.quest/articles/postgres-delete-can-actualy-scale-9f7f79b6782a5f75.md): DBOS · 2026-09-17 · Medium · 7 min read · PostgreSQL, Storage engines, Performance engineering, Databases
  Postgres DELETE can scale for data retention if you design around MVCC churn, cache locality and dead tuples.

## 2026-09-01

- [SQLite Doesn't Come With Encryption. Here's What Developers Actually Use.](https://swe.quest/articles/sqlite-doesn-t-come-with-encryption-here-s-what-developers-actually-use-ebbfd7763f73e8f8.md): Turso · 2026-09-01 · Medium · 11 min read · SQLite, Cryptography, Storage engines
  SQLite ships without encryption, and since SQLite 3.32.0 removed the undocumented SQLITE\_HAS\_CODEC hook in 2020, the options are SQLCipher (mature but painful across major versions, AES-256-CBC+HMAC only), the proprietary $2,000 SEE from the SQLite team, and SQLite3MultipleCiphers (community successor that can read SQLCipher formats).

## 2026-08-27

- [So, is ClickHouse winning the observability wars?](https://swe.quest/articles/so-is-clickhouse-winning-the-observability-wars-3577c2c26e782dd2.md): ClickHouse · 2026-08-27 · Medium · 20 min read · Observability, Analytics & OLAP, Storage engines, Search, Performance engineering
  ClickHouse has become a common storage and query layer for observability, and the main reason is its columnar architecture.

## 2026-08-24

- [Optimizing Redshift Write Patterns: Tackling Tombstones and Ghost Rows](https://swe.quest/articles/optimizing-redshift-write-patterns-tackling-tombstones-and-ghost-rows-0fcf77762d2bfabb.md): Wealthfront Engineering · 2026-08-24 · Medium · 8 min read · Analytics & OLAP, Storage engines, Data pipelines, Performance engineering, SQL
  Repeated DELETE FROM + COPY snapshot reloads in Amazon Redshift left some tables with up to 90% ghost rows, about 22 billion rows on disk for 2.4 billion live ones.

## 2026-08-03

- [SQLite Concurrent Writes Are Here: Early Preview on Turso Cloud](https://swe.quest/articles/sqlite-concurrent-writes-are-here-early-preview-on-turso-cloud-0a785739ef6a43fe.md): Turso · 2026-08-03 · Medium · 5 min read · SQLite, Concurrency, Consistency models, Storage engines
  Turso Cloud now offers concurrent writes in early preview: transactions opened with BEGIN CONCURRENT run optimistically in parallel on an MVCC engine modeled on Microsoft's Hekaton, with conflicts detected at commit time at row granularity.

## 2026-07-24

- [Postgres LISTEN/NOTIFY Actually Scales](https://swe.quest/articles/postgres-listen-notify-actually-scales-a299c10c9793118e.md): DBOS · 2026-07-24 · Medium · 5 min read · PostgreSQL, Queues & messaging, Performance engineering, Storage engines, Concurrency
  Postgres NOTIFY takes a global exclusive lock from commit start through fsync so notifications enqueue in commit order, which serializes every notifying transaction and blocks group commit.

## 2026-07-07

- [The final boss of reliability: formal verification](https://swe.quest/articles/the-final-boss-of-reliability-formal-verification-7d09556f91a9c3f0.md): Turso · 2026-07-07 · Medium · 6 min read · Formal methods, Testing, Storage engines, SQLite, Rust
  Turso, a from-scratch SQLite rewrite, is adding formal verification via Aretta AI's Aristo, which turns natural-language intents annotated on code into formally checked properties, to complement its deterministic simulation testing and Antithesis runs.

## 2026-07-02

- [Lakebase Search: vector and BM25 on Neon](https://swe.quest/articles/lakebase-search-vector-and-bm25-on-neon-b760351851c96b48.md): Neon · 2026-07-02 · Medium · 7 min read · Vector search, Search, PostgreSQL, Storage engines
  Neon's Lakebase Search adds two Postgres extensions, lakebase\_vector (IVF partitioning plus RaBitQ quantization, pgvector-compatible) and lakebase\_text (a BM25-native index with Block-Max WAND top-K pushdown), designed for Neon's separated compute and object-storage tiers.

## 2026-06-30

- [A Quadrillion Rows across three Clouds: scaling LogHouse](https://swe.quest/articles/a-quadrillion-rows-across-three-clouds-scaling-loghouse-ac5a7813ca827fb9.md): ClickHouse · 2026-06-30 · Medium · 20 min read · Observability, Analytics & OLAP, Scaling, Distributed databases, Storage engines
  LogHouse, ClickHouse Cloud's internal logging platform, has grown to 431 PiB uncompressed (27 PiB on disk) and 1.59 quadrillion rows across 36 cells in 33 geoshards on three clouds, ingesting up to 80 GiB/s and 190M rows/s.

## 2026-05-15

- [ClickHouse vs Prometheus for High Cardinality, Part 2: Cardinality in ClickHouse](https://swe.quest/articles/clickhouse-vs-prometheus-for-high-cardinality-part-2-cardinality-in-clickhouse-c26222ca23ed95e2.md): ClickHouse · 2026-05-15 · Medium · 19 min read · Observability, Analytics & OLAP, Storage engines, Databases
  ClickHouse handles high-cardinality observability data by storing telemetry as wide events, rows of attributes plus measurements, instead of as independently maintained time series.

## 2026-05-14

- [ClickHouse vs Prometheus for High Cardinality, Part 1: Understanding the Problem](https://swe.quest/articles/clickhouse-vs-prometheus-for-high-cardinality-part-1-understanding-the-problem-53412c04daa51734.md): ClickHouse · 2026-05-14 · Medium · 13 min read · Observability, Storage engines, Performance engineering
  High cardinality hurts Prometheus because its storage unit is the individual series.

## 2026-05-12

- [Turso v0.6.0](https://swe.quest/articles/turso-v0-6-0-5eb94c2c93fd0b4b.md): Turso · 2026-05-12 · Medium · 12 min read · SQLite, Databases, SQL, Storage engines
  Turso 0.6 is the first release supporting all major SQLite features, adding experimental multi-process WAL access (OFD locks on Linux, fcntl elsewhere, IOCP on Windows) and VACUUM/VACUUM INTO.

## 2026-05-06

- [Agentic analytics starts with query-ready data: the write-side cost of Snowflake vs. ClickHouse](https://swe.quest/articles/agentic-analytics-starts-with-query-ready-data-the-write-side-cost-of-snowflake-e188e777c7d23ef1.md): ClickHouse · 2026-05-06 · Medium · 23 min read · Analytics & OLAP, Storage engines, Cost optimization, Performance engineering
  Under continuous ingest, keeping data sorted for chunk-level pruning is a write-side cost that standard query benchmarks ignore.

## 2026-04-23

- [Do you still need Elasticsearch for log analytics? ClickHouse says no.](https://swe.quest/articles/do-you-still-need-elasticsearch-for-log-analytics-clickhouse-says-no-7011cded5588b0ad.md): ClickHouse · 2026-04-23 · Medium · 22 min read · Search, Analytics & OLAP, Observability, Performance engineering, Storage engines
  ClickHouse's redesigned inverted-index full-text search feeds matches directly into its vectorized analytical engine, and on a reproducible OpenTelemetry log benchmark at 1B, 10B and 50B rows it ran a nine-query search-plus-aggregation suite 2-6x faster than Elasticsearch, with a much smaller storage footprint.

[Next page](https://swe.quest/tags/storage-engines.md?difficulty=medium&page=2)

Same list as RSS: [https://swe.quest/feed.xml?difficulty=medium&tag=storage-engines](https://swe.quest/feed.xml?difficulty=medium&tag=storage-engines). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
