---
title: "Query engines"
description: "Query planning, optimization and execution engines"
url: "https://swe.quest/tags/query-engines?per=96"
---

# Query engines

Topic in Data & databases: Query planning, optimization and execution engines

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

Posts 1–96 of 123, page 1 of 2, newest first.

## 2026-11-25

- [Hints and hazards: pg\_plan\_advice in PG19](https://swe.quest/articles/hints-and-hazards-pg-plan-advice-in-pg19-94b7939260d49157.md): ClickHouse · 2026-11-25 · Medium · 13 min read · PostgreSQL, Query engines, Performance engineering, SQL
  Postgres 19 adds two contrib modules for query hints: pg\_plan\_advice, which applies advice per session via SET, and pg\_stash\_advice, which attaches advice to specific query identifiers.

## 2026-11-24

- [The side quest that freed 10% of our database](https://swe.quest/articles/the-side-quest-that-freed-10-of-our-database-649662623bb94a1e.md): incident.io · 2026-11-24 · Medium · 13 min read · PostgreSQL, Query engines, Performance engineering, SQL
  A single lateral-join query answering "who's on call for this rotation layer right now" consumed 34% of incident.io's Postgres replica CPU.

## 2026-11-19

- [pg\_clickhouse 0.11.1: Now with pgvector, UPDATE, DELETE pushdown](https://swe.quest/articles/pg-clickhouse-0-11-1-now-with-pgvector-update-delete-pushdown-a96a06584d05c765.md): ClickHouse · 2026-11-19 · Medium · 7 min read · PostgreSQL, Analytics & OLAP, Vector search, Query engines
  pg\_clickhouse 0.11.1 maps pgvector's vector type to ClickHouse Array(Float32/Float64) columns.
- [Postgres 19 is out: try it on Neon](https://swe.quest/articles/postgres-19-is-out-try-it-on-neon-e6c41c3a4f2e92c9.md): Neon · 2026-11-19 · Medium · 12 min read · PostgreSQL, Replication, Query engines, Databases
  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.

## 2026-11-10

- [Ducks in a Column](https://swe.quest/articles/ducks-in-a-column-ce42623eb848a791.md): DuckDB · 2026-11-10 · Medium · 12 min read · SQL, Analytics & OLAP, Query engines
  DuckDB stores data by column and processes it in vectors of 2,048 values, which drives its compression, projection pushdown and aggregation speed.

## 2026-11-06

- [ClickHouse release 26.10](https://swe.quest/articles/clickhouse-release-26-10-f1505265758ca672.md): ClickHouse · 2026-11-06 · Medium · 23 min read · Analytics & OLAP, SQL, Query engines
  ClickHouse 26.10 ships 104 features, 225 performance optimizations and 739 bug fixes.

## 2026-10-29

- [Meet GroeneAI: our autonomous contributor to ClickHouse](https://swe.quest/articles/meet-groeneai-our-autonomous-contributor-to-clickhouse-80536c3885c78419.md): ClickHouse · 2026-10-29 · Medium · 19 min read · AI agents, AI for coding, CI/CD, Query engines, Caching
  GroeneAI is a fully autonomous AI agent, built on the open-source Nerve runtime, that finds, reproduces and fixes ClickHouse bugs from CI failures, fuzzer findings and user reports, then shepherds its PRs through CI and review; it has passed 3,000 merged PRs.

## 2026-10-28

- [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.
- [The new cost-based join optimizer with reordering support for non-inner joins](https://swe.quest/articles/the-new-cost-based-join-optimizer-with-reordering-support-for-non-inner-joins-60f6c88dd7c8b7a9.md): ClickHouse · 2026-10-28 · Hard · 17 min read · Query engines, Algorithms, Analytics & OLAP, Performance engineering
  ClickHouse's new cost-based join optimizer uses an exhaustive DPsub dynamic-programming enumerator over table-subset bitmasks.

## 2026-10-21

- [Running ClickHouse on NVIDIA Vera CPU: Is your favorite database up to the challenge?](https://swe.quest/articles/running-clickhouse-on-nvidia-vera-cpu-is-your-favorite-database-up-to-the-2e92c798f70f3113.md): ClickHouse · 2026-10-21 · Medium · 12 min read · Performance engineering, Query engines, Hardware, Analytics & OLAP
  ClickHouse, run unmodified on NVIDIA's early-access Vera CPU (2×88 Arm Olympus cores, 352 SMT threads, ~1.2 TB/s memory bandwidth), topped the ClickBench hardware leaderboard.

## 2026-10-14

- [Sequences and other volatiles in Neki](https://swe.quest/articles/sequences-and-other-volatiles-in-neki-867c9857ecacbacb.md): PlanetScale · 2026-10-14 · Hard · 14 min read · Query engines, PostgreSQL, Distributed databases, SQL
  Neki, PlanetScale's sharded Postgres, implements Postgres sequences by classifying sequence operations like nextval() as router-only, with an authoritative shard hosting all sequences so values are never duplicated across shards.

## 2026-10-01

- [Building a faster, lazier router for Postgres](https://swe.quest/articles/building-a-faster-lazier-router-for-postgres-bc9a70ce219128ed.md): PlanetScale · 2026-10-01 · Hard · 15 min read · PostgreSQL, Distributed databases, Performance engineering, Go, Query engines
  Neki, PlanetScale's Postgres sharding router, cuts per-query overhead by keeping PostgreSQL wire-protocol bytes intact and decoding only as much as each query requires.
- [How we extended Apache DataFusion to execute one query across many machines](https://swe.quest/articles/how-we-extended-apache-datafusion-to-execute-one-query-across-many-machines-6519f2d407c939dd.md): Datadog Engineering · 2026-10-01 · Hard · 12 min read · Query engines, Distributed databases, Rust, Analytics & OLAP, Open source
  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.

## 2026-09-29

- [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

- [Can your Postgres survive a bad query?](https://swe.quest/articles/can-your-postgres-survive-a-bad-query-744ea9a22b65710c.md): ClickHouse · 2026-09-28 · Hard · 13 min read · PostgreSQL, Memory management, Resilience, Query engines, Linux
  Postgres's \`work\_mem\` limits memory per plan node per process, not per query, so parallel workers and \`hash\_mem\_multiplier\` can push a simple aggregation past 8x \`work\_mem\`.

## 2026-09-24

- [Quail: Speeding up AI-SQL by jointly optimizing query planner and inference engine](https://swe.quest/articles/quail-speeding-up-ai-sql-by-jointly-optimizing-query-planner-and-inference-515cdcca6399e688.md): Modal · 2026-09-24 · Hard · 18 min read · Inference & serving, Query engines, LLMs, Performance engineering, SQL
  Quail is a query-aware inference layer that jointly optimizes AI-SQL query planning and LLM inference.

## 2026-09-18

- [Postgres week in the Netherlands: PGDay Lowlands & Percona Live 2026](https://swe.quest/articles/postgres-week-in-the-netherlands-pgday-lowlands-percona-live-2026-0eb593178690a919.md): ClickHouse · 2026-09-18 · Easy · 7 min read · PostgreSQL, Observability, Analytics & OLAP, Query engines
  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.

## 2026-09-10

- [Announcing On-Demand Compute: Instant compute for your most intensive workloads](https://swe.quest/articles/announcing-on-demand-compute-instant-compute-for-your-most-intensive-workloads-963fb95d47ae3b96.md): ClickHouse · 2026-09-10 · Easy · 6 min read · Analytics & OLAP, Query engines, Cloud platforms, Scaling
  ClickHouse Cloud On-Demand Compute, now in private preview, lets a query run on a shared pool of ClickHouse workers outside the service's own cluster by setting make\_distributed\_plan and distributed\_plan\_workers\_num.

## 2026-09-04

- [Pipelined SQL in ClickHouse 26.8](https://swe.quest/articles/pipelined-sql-in-clickhouse-26-8-36877655d79cc45a.md): ClickHouse · 2026-09-04 · Medium · 7 min read · SQL, Analytics & OLAP, Query engines
  ClickHouse 26.8 adds pipelined SQL via a \`|\>\` operator that lets queries be written as a sequence of transformations (FROM, WHERE, AGGREGATE, EXTEND, ORDER BY, LIMIT), building on the FROM-first syntax available since 22.12.

## 2026-08-11

- [What's new in pg\_clickhouse v0.10.0: Subqueries, TPC-H Speedups, C Driver, and Aggregates](https://swe.quest/articles/what-s-new-in-pg-clickhouse-v0-10-0-subqueries-tpc-h-speedups-c-driver-and-178ced76a7784be7.md): ClickHouse · 2026-08-11 · Hard · 11 min read · PostgreSQL, Query engines, Analytics & OLAP, SQL, Performance engineering
  pg\_clickhouse v0.10.0 pushes correlated scalar subqueries, IN and NOT IN down to ClickHouse as remote subqueries and anti/semi-joins, raising full TPC-H pushdown from 12 to 16 of 22 queries.

## 2026-08-10

- [Postgres SELECT DISTINCT Does Not Scale](https://swe.quest/articles/postgres-select-distinct-does-not-scale-d7d1eb15cb6eae99.md): DBOS · 2026-08-10 · Medium · 5 min read · PostgreSQL, Query engines, SQL, Performance engineering
  Postgres SELECT DISTINCT always scans every index entry matching its predicates, so its cost grows with total matching rows rather than with the number of distinct values.

## 2026-08-06

- [ClickHouse Release 26.7](https://swe.quest/articles/clickhouse-release-26-7-1ce7ef970afa5876.md): ClickHouse · 2026-08-06 · Medium · 30 min read · Query engines, Analytics & OLAP, Performance engineering, Vector search
  ClickHouse 26.7 ships 61 features, 112 performance optimizations and 329 bug fixes, led by a fused ordered-aggregation pipeline that pushes LIMIT into in-order GROUP BY.

## 2026-07-16

- [We're building Postgres in Rust. Using the LLVM of databases](https://swe.quest/articles/we-re-building-postgres-in-rust-using-the-llvm-of-databases-e44d34208278a99e.md): Turso · 2026-07-16 · Easy · 11 min read · PostgreSQL, SQLite, Rust, Query engines, Open source
  Turso, a Rust rewrite of SQLite, is adding a Postgres frontend by parsing Postgres SQL into a common AST and compiling it to Turso's VDBE bytecode, turning the engine into an "LLVM of databases" with pluggable frontends.

## 2026-07-08

- [Introducing pg\_re2, fast, RE2-powered regular expressions in Postgres](https://swe.quest/articles/introducing-pg-re2-fast-re2-powered-regular-expressions-in-postgres-0fcf212bf9544079.md): ClickHouse · 2026-07-08 · Medium · 8 min read · PostgreSQL, Performance engineering, Query engines, Analytics & OLAP
  pg\_re2 is a Postgres extension that replaces backtracking POSIX regex with Google's automata-based RE2 engine, beating Postgres builtins by 1.8x to 8.6x on table scans and 1.1x to 1.8x on index scans.

## 2026-07-07

- [Intelligence is Free, Now What? Data Systems for, of, and by Agents](https://swe.quest/articles/intelligence-is-free-now-what-data-systems-for-of-and-by-agents-98e20761c37c0c4d.md): Berkeley AI Research · 2026-07-07 · Hard · 13 min read · Databases, AI agents, Query engines, Consistency models, Formal methods
  With inference costs falling roughly 50x per year, near-free intelligence creates three research directions for data systems.

## 2026-07-03

- [ClickHouse Release 26.6](https://swe.quest/articles/clickhouse-release-26-6-b9d6c69704516f2f.md): ClickHouse · 2026-07-03 · Medium · 13 min read · Analytics & OLAP, Databases, Query engines, SQL
  ClickHouse 26.6 ships 56 features, 79 performance optimizations and 366 bug fixes, marking ten years of ClickHouse as open source.

## 2026-07-02

- [How we made ClickStack 5x faster for ClickHouse observability](https://swe.quest/articles/how-we-made-clickstack-5x-faster-for-clickhouse-observability-ed934241e77977aa.md): ClickHouse · 2026-07-02 · Hard · 22 min read · Observability, Analytics & OLAP, Performance engineering, Query engines, Storage engines
  ClickStack's OpenTelemetry logs schema, inherited from the ClickHouse exporter for the OTel Collector, was reworked through a benchmark-driven process.

## 2026-06-03

- [How ClickHouse became fast at joins](https://swe.quest/articles/how-clickhouse-became-fast-at-joins-68de042e0ff6c22e.md): ClickHouse · 2026-06-03 · Hard · 15 min read · Query engines, Analytics & OLAP, Performance engineering, SQL
  ClickHouse became 26× faster on the join-heavy TPC-H SF100 workload between 22.4 and 26.4.

## 2026-06-02

- [TPC-H for less than a cent: ClickHouse Cloud vs. Snowflake, Databricks, BigQuery, and Redshift](https://swe.quest/articles/tpc-h-for-less-than-a-cent-clickhouse-cloud-vs-snowflake-databricks-bigquery-e1c9aad2d347b55d.md): ClickHouse · 2026-06-02 · Easy · 6 min read · Analytics & OLAP, Performance engineering, Cost optimization, Query engines
  On TPC-H SF100 (100 GB, 866M rows, 22 join-heavy queries), a single 59-core Graviton3 ClickHouse Cloud node finished hot runs in 19.8s for $0.063.

## 2026-06-01

- [ClickHouse Release 26.5](https://swe.quest/articles/clickhouse-release-26-5-7752e98141c4074d.md): ClickHouse · 2026-06-01 · Medium · 15 min read · Query engines, Analytics & OLAP, Performance engineering, SQL
  ClickHouse 26.5 ships 38 features, 51 performance optimizations and 224 bug fixes.

## 2026-05-27

- [Introducing multi-stage distributed query execution in ClickHouse Cloud](https://swe.quest/articles/introducing-multi-stage-distributed-query-execution-in-clickhouse-cloud-49bf049f23a569d6.md): ClickHouse · 2026-05-27 · Hard · 14 min read · Query engines, Distributed databases, Analytics & OLAP, Performance engineering
  ClickHouse Cloud adds multi-stage distributed query execution, splitting a query plan into stages connected by exchange operators (Gather, Shuffle, Broadcast, Scatter) so intermediate data can be repartitioned between nodes mid-query.

## 2026-05-22

- [Native random sampling in ClickHouse](https://swe.quest/articles/native-random-sampling-in-clickhouse-b04e18e64b8c1545.md): ClickHouse · 2026-05-22 · Medium · 11 min read · Analytics & OLAP, Query engines, Performance engineering, SQL
  ClickHouse's SAMPLE clause runs aggregations over a deterministic subset of rows selected by a hash-based sample key, which must be part of the primary key so granules above the hash threshold can be skipped.

## 2026-05-14

- [Postgres FDW: Pushdown is a negotiation](https://swe.quest/articles/postgres-fdw-pushdown-is-a-negotiation-623facded31963c6.md): ClickHouse · 2026-05-14 · Hard · 16 min read · PostgreSQL, Query engines, Analytics & OLAP, Performance engineering
  pg\_clickhouse, a Postgres foreign data wrapper for ClickHouse, decides clause by clause how much of a query to push down as ClickHouse SQL.

## 2026-05-08

- [ClickHouse Release 26.4](https://swe.quest/articles/clickhouse-release-26-4-f4f5532396f893cd.md): ClickHouse · 2026-05-08 · Medium · 10 min read · Analytics & OLAP, SQL, Query engines, Performance engineering
  ClickHouse 26.4 ships 39 features, 45 performance optimizations and 238 bug fixes, led by SQL-compatibility additions: VALUES as a table expression with column aliases, PostgreSQL-style EXTRACT units, SET TIME ZONE, NATURAL JOIN and compound INTERVAL literals.

## 2026-04-24

- [What's New in pg\_clickhouse - JSONB Support, SQL value functions, Streaming, and more](https://swe.quest/articles/what-s-new-in-pg-clickhouse-jsonb-support-sql-value-functions-streaming-and-more-ecb202cf6ff32298.md): ClickHouse · 2026-04-24 · Medium · 10 min read · PostgreSQL, Analytics & OLAP, Query engines, Memory management
  pg\_clickhouse, the Postgres foreign data wrapper for querying ClickHouse, now pushes down far more operations to ClickHouse.

## 2026-04-21

- [Index sharding in ClickHouse Cloud: Petabyte-scale data needs petabyte-scale indexing](https://swe.quest/articles/index-sharding-in-clickhouse-cloud-petabyte-scale-data-needs-petabyte-scale-162dcf2c4093c588.md): ClickHouse · 2026-04-21 · Hard · 16 min read · Query engines, Analytics & OLAP, Distributed databases, Memory management, Performance engineering
  Index sharding in ClickHouse Cloud splits primary and secondary index analysis across replicas using consistent hashing over data parts.

## 2026-04-15

- [Index-based pruning in ClickHouse](https://swe.quest/articles/index-based-pruning-in-clickhouse-5952b67ba993450d.md): ClickHouse · 2026-04-15 · Medium · 21 min read · Analytics & OLAP, Query engines, Storage engines, Performance engineering
  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.

## 2026-04-07

- [ClickHouse Release 26.3](https://swe.quest/articles/clickhouse-release-26-3-ea6c8bff46efb19b.md): ClickHouse · 2026-04-07 · Medium · 15 min read · Analytics & OLAP, Query engines, Storage engines, SQL, WebAssembly
  ClickHouse 26.3 ships 27 features, 40 performance optimizations and 202 bug fixes.

## 2026-04-03

- [AI for Systems: Using LLMs to Optimize Database Query Execution](https://swe.quest/articles/ai-for-systems-using-llms-to-optimize-database-query-execution-4407ac9f4162928a.md): Together AI · 2026-04-03 · Hard · 6 min read · Query engines, LLMs, Performance engineering, Databases
  LLMs can act as semantic cardinality estimators that fix join-order mistakes in database physical plans without modifying the engine.

## 2026-03-25

- [ClickHouse is data lake ready](https://swe.quest/articles/clickhouse-is-data-lake-ready-bebd3b2969b76478.md): ClickHouse · 2026-03-25 · Medium · 13 min read · Analytics & OLAP, Data pipelines, SQL, Query engines
  ClickHouse now queries Apache Iceberg and Delta Lake tables in place on S3, GCS and Azure, either directly or through catalogs such as AWS Glue, Unity, Polaris, BigLake, OneLake and Iceberg REST.

## 2026-03-18

- [How ClickStack makes ClickHouse faster for observability](https://swe.quest/articles/how-clickstack-makes-clickhouse-faster-for-observability-323b8d19e17244d4.md): ClickHouse · 2026-03-18 · Medium · 21 min read · Observability, Query engines, Analytics & OLAP, Performance engineering, SQL
  ClickStack speeds up ClickHouse for observability by generating and rewriting queries to fit how the engine stores, prunes and processes data, instead of passing raw SQL through.

## 2026-03-16

- [ClickHouse Release 26.2](https://swe.quest/articles/clickhouse-release-26-2-447722091c9b9182.md): ClickHouse · 2026-03-16 · Medium · 12 min read · Analytics & OLAP, Query engines, Performance engineering, Databases
  ClickHouse 26.2 ships 25 features, 43 performance optimizations and 183 bug fixes, and promotes the text index and QBit vector data type to production-ready.

## 2026-03-12

- [Shopify’s journey to faster breadth-first GraphQL execution](https://swe.quest/articles/shopify-s-journey-to-faster-breadth-first-graphql-execution-83f0f58b8c4dabd1.md): Shopify Engineering · 2026-03-12 · Hard · 14 min read · GraphQL, Performance engineering, Ruby, Query engines
  Shopify built GraphQL Cardinal, a breadth-first GraphQL execution engine that calls each field resolver once with the full set of objects at that level instead of once per object.

## 2026-03-11

- [Announcing chDB 4: write Pandas, run ClickHouse, now on Hex](https://swe.quest/articles/announcing-chdb-4-write-pandas-run-clickhouse-now-on-hex-3e3042b3b93d1f1e.md): ClickHouse · 2026-03-11 · Medium · 11 min read · Analytics & OLAP, Query engines, Python, Performance engineering
  chDB 4 adds DataStore, a Pandas-compatible API that records operations lazily as a chain of LazyOps, then compiles them into ClickHouse SQL with filter pushdown, column pruning and limit propagation, executing in-process on the ClickHouse engine.

## 2026-03-04

- [Turso v0.5.0](https://swe.quest/articles/turso-v0-5-0-1bc59038f4941e8d.md): Turso · 2026-03-04 · Hard · 6 min read · SQLite, Storage engines, Query engines, Consistency models, Search
  Turso v0.5.0 promotes MVCC-based concurrent writes (BEGIN CONCURRENT, adapted from Hekaton) to beta.

## 2026-01-20

- [Christmas gifts from the ClickHouse engineering team](https://swe.quest/articles/christmas-gifts-from-the-clickhouse-engineering-team-0bd7782a3aa80a52.md): ClickHouse · 2026-01-20 · Medium · 7 min read · Analytics & OLAP, Query engines, Performance engineering, SQL
  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.

## 2026-01-19

- [How ClickHouse makes Top-N queries faster with granule-level data skipping](https://swe.quest/articles/how-clickhouse-makes-top-n-queries-faster-with-granule-level-data-skipping-c5fa6e048ea4d950.md): ClickHouse · 2026-01-19 · Medium · 9 min read · Query engines, Analytics & OLAP, Performance engineering, Databases
  ClickHouse can now use minmax data-skipping indexes to prune whole granules for ORDER BY … LIMIT N queries before reading any rows.

## 2026-01-14

- [ClickHouse Release 25.12](https://swe.quest/articles/clickhouse-release-25-12-e571148b4347f1f0.md): ClickHouse · 2026-01-14 · Hard · 18 min read · Query engines, Analytics & OLAP, Performance engineering, Databases
  ClickHouse 25.12 ships 26 features, 31 performance optimizations and 129 bug fixes, led by three query-engine speedups.

## 2026-01-13

- [ClickHouse projections now behave like true secondary indexes](https://swe.quest/articles/clickhouse-projections-now-behave-like-true-secondary-indexes-0baa9f93cd285ce3.md): ClickHouse · 2026-01-13 · Medium · 6 min read · Analytics & OLAP, Query engines, Storage engines, Performance engineering
  ClickHouse lightweight projections, which store only a sorting key plus a \_part\_offset pointer into the base table, now act as true secondary indexes with granule-level pruning instead of only pruning whole parts.

## 2026-01-12

- [Streaming secondary indices: incremental, demand-driven index evaluation](https://swe.quest/articles/streaming-secondary-indices-incremental-demand-driven-index-evaluation-41766db7296ee01a.md): ClickHouse · 2026-01-12 · Medium · 4 min read · Query engines, Analytics & OLAP, Performance engineering, Databases
  ClickHouse 25.9 introduces streaming secondary indices, which check skip-index entries (minmax, set, bloom filter, vector, text) incrementally as each table granule is about to be read, instead of scanning the whole index before query execution.

## 2026-01-09

- [The Journey to Zero-Copy: How chDB Became the Fastest SQL Engine on Pandas DataFrame](https://swe.quest/articles/the-journey-to-zero-copy-how-chdb-became-the-fastest-sql-engine-on-pandas-b4ab858523515f13.md): ClickHouse · 2026-01-09 · Medium · 8 min read · Python, Performance engineering, Analytics & OLAP, Query engines
  chDB, ClickHouse embedded as a Python library, removed the four serialization steps that made every v1 query take over 100ms by reading Pandas DataFrames in place.

## 2026-01-05

- [Turso v0.4.0](https://swe.quest/articles/turso-v0-4-0-191cca637e457c1d.md): Turso · 2026-01-05 · Medium · 3 min read · SQLite, Storage engines, Query engines, Local-first & sync, Concurrency
  Turso v0.4.0 overhauls its experimental MVCC mode, which lifts SQLite's single-writer limit, adding index support, checkpointing and recovery.

## 2025-12-30

- [What's new in ClickStack. December '25.](https://swe.quest/articles/what-s-new-in-clickstack-december-25-c182e3421d3be356.md): ClickHouse · 2025-12-30 · Medium · 8 min read · Observability, Analytics & OLAP, Query engines, Performance engineering, SQL
  ClickStack's HyperDX UI can now use ClickHouse Incremental Materialized Views registered against a source to accelerate charts, searches, histograms and dashboards, even when filters are applied.

## 2025-12-19

- [Alexey's favorite features of 2025](https://swe.quest/articles/alexey-s-favorite-features-of-2025-ab228e960db368ed.md): ClickHouse · 2025-12-19 · Medium · 10 min read · Analytics & OLAP, Query engines, Vector search, Search, Performance engineering
  ClickHouse shipped 12 releases in 2025 with 277 new features, 319 performance optimizations and 1,051 bug fixes.

## 2025-12-16

- [Parallelizing ClickHouse aggregation merge for fixed hash map](https://swe.quest/articles/parallelizing-clickhouse-aggregation-merge-for-fixed-hash-map-9fc83cd0ed214dc7.md): ClickHouse · 2025-12-16 · Hard · 6 min read · Query engines, Performance engineering, Concurrency, Memory management, C & C++
  ClickHouse 25.11 parallelizes the merge phase for GROUP BY on 8- and 16-bit keys, which use an array-backed FixedHashMap.

## 2025-12-10

- [Introducing pg\_clickhouse: A Postgres extension for querying ClickHouse](https://swe.quest/articles/introducing-pg-clickhouse-a-postgres-extension-for-querying-clickhouse-98de49fb9ae8bb75.md): ClickHouse · 2025-12-10 · Medium · 11 min read · PostgreSQL, Query engines, Analytics & OLAP, SQL
  pg\_clickhouse v0.1.0 is an Apache 2-licensed PostgreSQL foreign data wrapper, derived from clickhouse\_fdw, that runs analytics queries on ClickHouse from Postgres so existing queries can work unmodified by changing search\_path.

## 2025-12-05

- [ClickHouse Release 25.11](https://swe.quest/articles/clickhouse-release-25-11-bcf7d5c39dac13b0.md): ClickHouse · 2025-12-05 · Medium · 14 min read · Analytics & OLAP, Query engines, Performance engineering, Concurrency
  ClickHouse 25.11 ships 24 features, 27 performance optimizations and 97 bug fixes.

## 2025-11-13

- [You should shard your database](https://swe.quest/articles/you-should-shard-your-database-12cdc70ed1f6d2d7.md): PgDog · 2025-11-13 · Medium · 7 min read · PostgreSQL, Distributed databases, Scaling, Query engines
  Sharding Postgres early avoids the operational pain of large single instances, illustrated by an outage where stale planner statistics caused a 300 GB table to be sequentially scanned.

## 2025-11-07

- [ClickHouse Release 25.10](https://swe.quest/articles/clickhouse-release-25-10-a4195d25b3b54d91.md): ClickHouse · 2025-11-07 · Medium · 17 min read · Query engines, Analytics & OLAP, Performance engineering, Vector search, SQL
  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.

## 2025-11-05

- [Indexing sparse vectors with Turso](https://swe.quest/articles/indexing-sparse-vectors-with-turso-3c9fdb0f1a894948.md): Turso · 2025-11-05 · Hard · 8 min read · Vector search, SQLite, Query engines, Algorithms, Performance engineering
  Turso 0.3.0 adds a compact sparse vector representation (vector32\_sparse) that uses 5–50x less storage than dense vectors, plus an inverted index for nearest-neighbor search by weighted Jaccard distance.

## 2025-10-15

- [If it’s in your catalog, you can query it: The DataLakeCatalog engine in ClickHouse Cloud](https://swe.quest/articles/if-it-s-in-your-catalog-you-can-query-it-the-datalakecatalog-engine-in-8d1562fe3bdf6842.md): ClickHouse · 2025-10-15 · Medium · 13 min read · Analytics & OLAP, Query engines, Cloud platforms, SQL
  ClickHouse's DataLakeCatalog database engine connects to lakehouse catalogs such as AWS Glue and Databricks Unity Catalog, reads their metadata, and automatically maps each table to the matching Iceberg or DeltaLake table engine.

## 2025-10-09

- [Introducing Real-Time Data with Materialized Views in Turso](https://swe.quest/articles/introducing-real-time-data-with-materialized-views-in-turso-ac2055a02552eb51.md): Turso · 2025-10-09 · Medium · 4 min read · SQLite, Query engines, Stream processing, Databases
  Turso adds experimental Live Materialized Views to its SQLite-compatible database, using Incremental View Maintenance based on the DBSP framework so views update in time proportional to the size of changes rather than the base tables.

## 2025-10-02

- [ClickHouse Release 25.9](https://swe.quest/articles/clickhouse-release-25-9-512577de2ea7d4de.md): ClickHouse · 2025-10-02 · Medium · 10 min read · Query engines, Analytics & OLAP, Performance engineering, Search, SQL
  ClickHouse 25.9 adds automatic global join reordering, which uses a greedy algorithm plus row-count estimates or manually created column statistics to pick build/probe order across many tables.

## 2025-10-01

- [Inside Husky’s query engine: Real-time access to 100 trillion events](https://swe.quest/articles/inside-husky-s-query-engine-real-time-access-to-100-trillion-events-a64c982f47949261.md): Datadog Engineering · 2025-10-01 · Hard · 27 min read · Query engines, Storage engines, Search, Observability, Multi-tenancy
  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.

## 2025-09-29

- [How we scaled raw GROUP BY to 100 B+ rows in under a second](https://swe.quest/articles/how-we-scaled-raw-group-by-to-100-b-rows-in-under-a-second-c36aee54a6541514.md): ClickHouse · 2025-09-29 · Medium · 23 min read · Query engines, Analytics & OLAP, Performance engineering, Distributed databases, Scaling
  ClickHouse Cloud's parallel replicas feature spreads a single GROUP BY query across every core of every node in a service, with no pre-aggregation or data reshuffling.

## 2025-09-16

- [Easier Postgres fine-tuning with online\_advisor](https://swe.quest/articles/easier-postgres-fine-tuning-with-online-advisor-fe9a8f6b2841792d.md): Neon · 2025-09-16 · Medium · 4 min read · PostgreSQL, Performance engineering, Query engines
  online\_advisor is a Postgres extension that hooks into the executor (like auto\_explain) to watch the live workload and recommend indexes, extended statistics, or prepared statements without applying anything automatically.

## 2025-09-05

- [ClickHouse Release 25.8](https://swe.quest/articles/clickhouse-release-25-8-24e052d1705201ca.md): ClickHouse · 2025-09-05 · Medium · 13 min read · Analytics & OLAP, Query engines, Performance engineering, Data pipelines
  ClickHouse 25.8 ships 45 features, 47 performance optimizations and 119 bug fixes.

## 2025-08-27

- [What the interns have wrought, 2025 edition](https://swe.quest/articles/what-the-interns-have-wrought-2025-edition-eda7f47e78fb3ca5.md): Jane Street Tech Blog · 2025-08-27 · Hard · 12 min read · Functional programming, Memory management, Query engines, Type systems, Performance engineering
  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.

## 2025-08-08

- [ClickHouse Release 25.7](https://swe.quest/articles/clickhouse-release-25-7-3deecef07d4b1ccf.md): ClickHouse · 2025-08-08 · Medium · 13 min read · Analytics & OLAP, Query engines, Storage engines, Performance engineering
  ClickHouse 25.7 adds standard SQL UPDATE and DELETE built on lightweight "patch parts".

## 2025-07-02

- [ClickHouse Release 25.6](https://swe.quest/articles/clickhouse-release-25-6-783d976caa8e5340.md): ClickHouse · 2025-07-02 · Medium · 12 min read · Analytics & OLAP, Query engines, Storage engines, Consistency models
  ClickHouse 25.6 (25 features, 32 performance optimizations, 105 bug fixes) can take a single consistent storage snapshot across all subqueries and CTEs in a SELECT, controlled by enable\_shared\_storage\_snapshot\_in\_query.

## 2025-06-25

- [Join me if you can: ClickHouse vs. Databricks vs. Snowflake - Part 2](https://swe.quest/articles/join-me-if-you-can-clickhouse-vs-databricks-vs-snowflake-part-2-66aede87450dc5eb.md): ClickHouse · 2025-06-25 · Medium · 8 min read · Analytics & OLAP, Performance engineering, Query engines, SQL
  Replacing fact-to-dimension joins with in-memory dictionaries in ClickHouse Cloud sped up a 17-query join benchmark over 1.4 billion rows by 1.9–3.5× in total runtime, up to 6.6× on individual queries, and cut cost by up to 60%.

## 2025-06-24

- [Join me if you can: ClickHouse vs. Databricks vs. Snowflake - Part 1](https://swe.quest/articles/join-me-if-you-can-clickhouse-vs-databricks-vs-snowflake-part-1-abef280c3cc66c97.md): ClickHouse · 2025-06-24 · Easy · 7 min read · Analytics & OLAP, Performance engineering, Query engines, Cost optimization
  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.

## 2025-06-06

- [Fuzzer Blind Spots (Meet Jepsen!)](https://swe.quest/articles/fuzzer-blind-spots-meet-jepsen-95901ab1fc56e123.md): TigerBeetle · 2025-06-06 · Hard · 7 min read · Testing, Formal methods, Storage engines, Query engines, Debugging
  Jepsen found a missing-results bug in TigerBeetle's query engine despite four fuzzers covering it, because the VOPR and LSM query fuzzer pre-registered disjoint queries whose matching objects were always consecutive in every secondary index, so zig-zag merge join probing was never exercised.

## 2025-05-30

- [Delayed Start Compute Operations – Triggering Event](https://swe.quest/articles/delayed-start-compute-operations-triggering-event-db99144a3f6489a4.md): Neon · 2025-05-30 · Medium · 4 min read · PostgreSQL, Incidents & postmortems, Query engines, Serverless, Performance engineering
  Neon's 2025-05-16 us-east-1 outage was triggered when the Postgres planner for the control plane database switched to a suboptimal index for the Activity Monitor query that finds idle Computes to suspend.

## 2025-05-09

- [ClickHouse Release 25.4](https://swe.quest/articles/clickhouse-release-25-4-70f4ff42cabe956e.md): ClickHouse · 2025-05-09 · Medium · 9 min read · Analytics & OLAP, Query engines, Performance engineering, SQL
  ClickHouse 25.4 adds lazy materialization, which defers reading column data until it is needed.

## 2025-05-07

- [ClickHouse and Parquet: A foundation for fast Lakehouse analytics](https://swe.quest/articles/clickhouse-and-parquet-a-foundation-for-fast-lakehouse-analytics-8735ae90a09a83f6.md): ClickHouse · 2025-05-07 · Medium · 22 min read · Query engines, Analytics & OLAP, Performance engineering, Concurrency
  ClickHouse queries Parquet files directly, without ingestion, through a format-specific reader that currently parses via Arrow and then converts into ClickHouse's in-memory format.

## 2025-04-22

- [ClickHouse gets lazier (and faster): Introducing lazy materialization](https://swe.quest/articles/clickhouse-gets-lazier-and-faster-introducing-lazy-materialization-c876250ed7371b97.md): ClickHouse · 2025-04-22 · Medium · 18 min read · Query engines, Analytics & OLAP, Performance engineering, Storage engines
  ClickHouse 25.4 adds lazy materialization, which defers reading column data until the query plan actually needs it.

## 2025-03-28

- [Introducing the query condition cache](https://swe.quest/articles/introducing-the-query-condition-cache-8138f22b787679a8.md): ClickHouse · 2025-03-28 · Medium · 11 min read · Caching, Query engines, Analytics & OLAP, Performance engineering
  ClickHouse 25.3 adds a query condition cache that records, per table, data part and predicate hash, a bit per granule indicating whether any row matched the WHERE condition, so repeated filters can skip non-matching granules.

## 2025-03-27

- [ClickHouse Release 25.3](https://swe.quest/articles/clickhouse-release-25-3-9135d1897f13fbb5.md): ClickHouse · 2025-03-27 · Medium · 8 min read · Analytics & OLAP, Query engines, Caching, Distributed databases
  ClickHouse 25.3 adds query support for AWS Glue and Unity lakehouse catalogs and declares the columnar JSON type, along with the Variant and Dynamic types it is built on, production-ready.

## 2025-03-21

- [Maximizing Your Delta Scan Performance in DuckDB](https://swe.quest/articles/maximizing-your-delta-scan-performance-in-duckdb-6643024699229651.md): DuckDB · 2025-03-21 · Medium · 13 min read · Query engines, Analytics & OLAP, Performance engineering, Storage systems
  DuckDB's delta extension v0.3.0 runs TPC-DS SF1 on S3 more than 3× faster than v0.1.0, mostly because cardinality information now reaches DuckDB's join order optimizer.

## 2025-03-07

- [ClickHouse Release 25.2](https://swe.quest/articles/clickhouse-release-25-2-70e1ceccfb09d252.md): ClickHouse · 2025-03-07 · Medium · 8 min read · Analytics & OLAP, Query engines, Performance engineering, Data structures
  ClickHouse 25.2 ships 12 features, 15 performance optimizations and 72 bug fixes.

## 2025-02-19

- [Climbing the Iceberg with ClickHouse](https://swe.quest/articles/climbing-the-iceberg-with-clickhouse-ce9c336aa71545a5.md): ClickHouse · 2025-02-19 · Medium · 12 min read · Analytics & OLAP, Data pipelines, Query engines
  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.

## 2025-02-07

- [ClickHouse Release 25.1](https://swe.quest/articles/clickhouse-release-25-1-dbd3d08d261fe532.md): ClickHouse · 2025-02-07 · Medium · 15 min read · Query engines, Analytics & OLAP, Performance engineering, Concurrency
  ClickHouse 25.1 speeds up the default parallel hash join by building N two-level hash tables whose 256 buckets are filled by threads in a non-overlapping way, then merging them in constant time into one shared table.

## 2025-01-09

- [ClickHouse Release 24.12](https://swe.quest/articles/clickhouse-release-24-12-a4df30e6ccdd0296.md): ClickHouse · 2025-01-09 · Medium · 15 min read · Analytics & OLAP, Query engines, Performance engineering, SQL
  ClickHouse 24.12 adds LIKE and unknown-value equality/IN support for Enums, an experimental descending MergeTree sorting key, JSON subcolumns as primary key columns, Iceberg REST catalog (Unity, Polaris) and schema evolution support, and automatic JOIN side swapping via query\_plan\_join\_swap\_table.

## 2024-12-11

- [A simple guide to ClickHouse query optimization: part 1](https://swe.quest/articles/a-simple-guide-to-clickhouse-query-optimization-part-1-007f8d8516577455.md): ClickHouse · 2024-12-11 · Medium · 20 min read · Analytics & OLAP, Performance engineering, SQL, Query engines
  Slow ClickHouse queries can be diagnosed with system.query\_log (duration, rows read, memory, CPU, cache metrics) and the EXPLAIN statement, illustrated on the NYC Taxi dataset in the ClickHouse Playground.

## 2024-12-06

- [ClickHouse Release 24.11](https://swe.quest/articles/clickhouse-release-24-11-6fda281750a6cdc4.md): ClickHouse · 2024-12-06 · Medium · 6 min read · Analytics & OLAP, Query engines, SQL, Vector search, Performance engineering
  ClickHouse 24.11 makes parallel hash join the default join algorithm, building several hash tables concurrently for speed at the cost of more memory, and adds zero-copy block scattering between threads.

## 2024-08-29

- [How we made querying Pandas DataFrames with chDB 87x faster](https://swe.quest/articles/how-we-made-querying-pandas-dataframes-with-chdb-87x-faster-1ee5b7d8017e769d.md): ClickHouse · 2024-08-29 · Medium · 8 min read · Python, Performance engineering, Query engines, Analytics & OLAP, C & C++
  chDB, the in-process embedded ClickHouse, sped up SQL queries over Pandas DataFrames 87x by replacing its original Parquet serialize/deserialize round-trip through file descriptors with a native Python table engine that reads Python objects directly.

## 2024-08-09

- [ClickHouse Release 24.7](https://swe.quest/articles/clickhouse-release-24-7-ceb1a9a93abff1bb.md): ClickHouse · 2024-08-09 · Medium · 12 min read · Query engines, Analytics & OLAP, Performance engineering, SQL
  ClickHouse 24.7 adds buffering for read-in-order queries (read\_in\_order\_use\_buffering), restoring read parallelism when ORDER BY matches the primary key.

## 2024-06-13

- [How to take random samples from big PostgreSQL tables](https://swe.quest/articles/how-to-take-random-samples-from-big-postgresql-tables-9724e6f9679558c6.md): Render · 2024-06-13 · Medium · 10 min read · PostgreSQL, SQL, Performance engineering, Query engines
  Random sampling from billion-row PostgreSQL tables with ORDER BY random() scans every row and runs a top-N heapsort, taking over a minute.

## 2024-06-05

- [ClickHouse Release 24.5](https://swe.quest/articles/clickhouse-release-24-5-28a1e020a76b65db.md): ClickHouse · 2024-06-05 · Medium · 10 min read · Analytics & OLAP, Query engines, SQL, Performance engineering
  ClickHouse 24.5 adds an experimental Dynamic data type for semi-structured columns that accepts values of any type without declaring them upfront like Variant, and queries them via dynamicType, dynamicElement and dot syntax.

## 2024-05-22

- [Composable data management at Meta](https://swe.quest/articles/composable-data-management-at-meta-c95cc910c8dc9e8f.md): Meta Engineering · 2024-05-22 · Easy · 9 min read · Query engines, Analytics & OLAP, System design, Open source
  Meta has been decomposing its many monolithic data engines (ETL, interactive, streaming, ML preprocessing) into reusable components: language frontend, IR, optimizer, execution library and runtime.

## 2024-05-14

- [PostgreSQL Stories: From slow query to fast—via stats](https://swe.quest/articles/postgresql-stories-from-slow-query-to-fast-via-stats-ac7001ab0fde8224.md): Render · 2024-05-14 · Medium · 13 min read · PostgreSQL, Query engines, Performance engineering, Debugging
  A simple LIMIT 1 join between a ~100k-row postgres\_dbs table and a ~90M-row events table ran for hours.

## 2024-05-07

- [ClickHouse vs. Elasticsearch: The Mechanics of Count Aggregations](https://swe.quest/articles/clickhouse-vs-elasticsearch-the-mechanics-of-count-aggregations-fa943a94e2c565e4.md): ClickHouse · 2024-05-07 · Medium · 15 min read · Query engines, Analytics & OLAP, Search, Performance engineering
  ClickHouse runs count(\*) GROUP BY aggregations in parallel at three levels: SIMD within column values, multiple cores over arbitrary data ranges, and multiple nodes over shards.

## 2024-05-05

- [ClickHouse Release 24.4](https://swe.quest/articles/clickhouse-release-24-4-940c7f6d7669f10a.md): ClickHouse · 2024-05-05 · Medium · 15 min read · SQL, Analytics & OLAP, Query engines, Databases
  ClickHouse 24.4 adds standard SQL:1999 recursive CTEs, built on the new query analyzer now enabled by default, which pass PostgreSQL's recursive CTE tests and allow multiple queries and base-table references in the recursive part.

## 2024-04-09

- [ClickHouse Release 24.3](https://swe.quest/articles/clickhouse-release-24-3-88245754748d4a42.md): ClickHouse · 2024-04-09 · Medium · 11 min read · Analytics & OLAP, Query engines, SQL, Cloud platforms
  ClickHouse 24.3 enables the new query analyzer by default (beta), which fixes nested CTE/join column resolution, allows multiple ARRAY JOIN clauses, treats tuple elements like columns, and supports lambda aliases; the old implementation is slated for removal in 24.4/24.5.

## 2024-03-14

- [How Figma’s databases team lived to tell the scale](https://swe.quest/articles/how-figma-s-databases-team-lived-to-tell-the-scale-5117114294b188fe.md): Figma · 2024-03-14 · Medium · 19 min read · PostgreSQL, Distributed databases, Scaling, Query engines
  Figma horizontally sharded its RDS Postgres stack after vertical partitioning ran out of room.

[Next page](https://swe.quest/tags/query-engines.md?per=96&page=2)

Same list as RSS: [https://swe.quest/feed.xml?tag=query-engines](https://swe.quest/feed.xml?tag=query-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)
