Skip to content

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

Topics Data & databases

Query engines

Query planning, optimization and execution engines.

Search within Query engines, or combine it with other topics →

November 2026

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.

October 2026

ClickHouse

Why ClickHouse Cloud wins at real-time analytics

Deep dive 21 min +210 XP

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.

September 2026

How we extended Apache DataFusion to execute one query across many machines

Case study 12 min +120 XP

Datadog built Distributed DataFusion, an open source Rust framework that extends Apache DataFusion's physical execution model so a single interactive query can run across many machines while keeping latency roughly flat as data grows.

ClickHouse

Postgres week in the Netherlands: PGDay Lowlands & Percona Live 2026

Article 7 min +70 XP

Notes from PGDay Lowlands in Utrecht and Percona Live in Amsterdam, covering two ClickHouse-maintained Postgres extensions and several PostgreSQL 19 features. pg_clickhouse is a foreign data wrapper that lets unmodified Postgres queries and ORMs run against ClickHouse via pushdown, with 15 of 22 TPC-H queries fully pushed down. pg_stat_ch streams per-query execution events through a shared-memory ring buffer to ClickHouse without back-pressure.

August 2026

July 2026

June 2026

May 2026

April 2026

ClickHouse

Index-based pruning in ClickHouse

Deep dive 21 min +210 XP

ClickHouse offers three index-based ways to skip data: the sparse primary index (one entry per 8,192-row granule), lightweight projections that store only a sort key plus a _part_offset pointer into the base table, and skip indexes such as minmax that keep per-granule min/max values.

March 2026

January 2026

ClickHouse

Christmas gifts from the ClickHouse engineering team

Release 7 min +70 XP

ClickHouse 25.12 ships a batch of end-of-year improvements, from client usability tweaks (digit-group highlighting in the prompt, per-row readable numeric hints) to query engine optimizations. distinctJSONPaths now merges per-part JSON path metadata instead of decoding column data, cutting a 10M-row BlueSky query from 4.56 s to 82 ms. DISTINCT on LowCardinality columns now works on dictionary IDs with early exit, typically 2-6x faster, but slower on a sorting-key column where unique values are spread across the whole table.

December 2025

November 2025

ClickHouse

ClickHouse Release 25.10

Release 17 min +170 XP

ClickHouse 25.10 focuses on JOIN performance, adding lazy columns replication (an index column pointing at the original data instead of copying duplicated values), runtime Bloom filters built from the right-side join keys and applied as PREWHERE on the left side for parallel hash joins, push-down of OR conditions that reference both join sides, and automatic column statistics via auto_statistics_types to feed join reordering.

October 2025

September 2025

Inside Husky’s query engine: Real-time access to 100 trillion events

Deep dive 27 min +270 XP

Husky, Datadog's third-generation event store, serves interactive queries over more than 100 trillion events through four multi-tenant services: a planner that splits queries into time-based steps, orchestrators that fetch fragment metadata from FoundationDB and prune with zone maps, a metadata service, and readers that execute against fragments in blob storage.

August 2025

What the interns have wrought, 2025 edition

Case study 12 min +120 XP

Jane Street's 2025 intern projects include an index-aware evaluator for JSQL, the company's internal SQL dialect, which over-approximates key ranges from WHERE clauses and specializes execution to Map, Hashtbl or multi-index containers, giving ~700x and ~30x speedups on 3.8M-row benchmarks.

July 2025

June 2025

ClickHouse

Join me if you can: ClickHouse vs. Databricks vs. Snowflake - Part 1

Research 7 min +70 XP

ClickHouse Cloud ran a third-party, join-heavy coffee-shop star-schema benchmark (17 queries, originally built to compare Databricks and Snowflake) with no query rewrites or tuning, and came out faster and cheaper at every scale from 721 million to 7.2 billion rows.

May 2025

April 2025

March 2025

February 2025

ClickHouse

Climbing the Iceberg with ClickHouse

Announcement 12 min +120 XP

ClickHouse fits into data lake and lakehouse architectures in three common ways: incrementally loading object-storage or Iceberg data via s3cluster/S3Queue (or double-writing from Kafka), running ad-hoc and federated queries against Iceberg, Delta and Hudi tables plus PostgreSQL, MySQL and MongoDB, and frequently querying shared lakehouse datasets.

January 2025

December 2024

August 2024

June 2024

May 2024

April 2024

March 2024

The quest for software engineering knowledge.

Look:
Layout: