---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?tag=sql"
---

# Posts

Filtered by topics: SQL.

Posts 1–24 of 247, page 1 of 11, 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.
- [I Don’t Want a Lesson in Computer Science!](https://swe.quest/articles/i-don-t-want-a-lesson-in-computer-science-864d0c19c5134d71.md): DuckDB · 2026-11-25 · Medium · 43 min read · SQL, LLMs, Analytics & OLAP
  Star Trek: The Next Generation scenes where the crew queries the ship's computer were re-enacted using Claude as a natural-language-to-SQL translator over a synthetic DuckDB database built so that correct queries reproduce the on-screen answers.

## 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-18

- [The day the sky emptied: rendering the FAA outage with ClickHouse FORMAT PNG](https://swe.quest/articles/the-day-the-sky-emptied-rendering-the-faa-outage-with-clickhouse-format-png-5517090c4ee462b9.md): ClickHouse · 2026-11-18 · Medium · 13 min read · Analytics & OLAP, SQL, Maps & geospatial, Databases
  ClickHouse's built-in FORMAT PNG output renders an animated map of the November 13, 2026 FAA outage directly from SQL, with no plotting library.

## 2026-11-17

- [ClickHouse forecasting and anomaly detection with time series foundation models](https://swe.quest/articles/clickhouse-forecasting-and-anomaly-detection-with-time-series-foundation-models-71a24c218275d2ec.md): ClickHouse · 2026-11-17 · Medium · 11 min read · Analytics & OLAP, Machine learning, Inference & serving, SQL
  TimesFM 3.0, a pretrained time-series foundation model, can be called from ClickHouse SQL via executable Python UDFs that forward arrays to an HTTP model server, giving zero-shot forecasts and anomaly scores without per-series training.
- [DuckDB User Group Workshop on AI-Powered Review Analysis with Hugging Face](https://swe.quest/articles/duckdb-user-group-workshop-on-ai-powered-review-analysis-with-hugging-face-db5478e73c7e0e03.md): DuckDB · 2026-11-17 · Medium · 3 min read · Analytics & OLAP, LLMs, SQL, Data pipelines
  A one-afternoon workshop pipeline uses DuckDB to find Amazon appliance products whose ratings fell most in the last six months across 2.1 million reviews, then sends only the 40 most helpful recent complaints to an LLM that groups them into themes with safety issues first.

## 2026-11-11

- [Bring high-performance analytics to your lakehouse with ClickHouse and Amazon S3 Tables](https://swe.quest/articles/bring-high-performance-analytics-to-your-lakehouse-with-clickhouse-and-amazon-e72cad2c2b1429a9.md): ClickHouse · 2026-11-11 · Medium · 11 min read · Analytics & OLAP, Cloud platforms, SQL
  ClickHouse's DataLakeCatalog engine connects to Amazon S3 Tables through the Iceberg REST endpoint, exposing a table bucket as a ClickHouse database that can be queried in place and written back to, with no data copied out.

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

- [From Spreadsheets to DuckLake: A Data Engineer's Road to DuckDB](https://swe.quest/articles/from-spreadsheets-to-ducklake-a-data-engineer-s-road-to-duckdb-befcab104cb9bbfa.md): DuckDB · 2026-10-29 · Medium · 6 min read · Analytics & OLAP, Data pipelines, Databases, SQL
  Data engineer Matt Martin traces his path from copy-pasting Excel reports through Teradata, BigQuery and heavyweight Spark clusters to DuckDB, which let him query local CSVs, S3 Parquet files and Iceberg tables in a few lines of SQL with no JVM or cluster.

## 2026-10-27

- [The Agentic Analytics Benchmark: ranking tables and labeling failures with Jev](https://swe.quest/articles/the-agentic-analytics-benchmark-ranking-tables-and-labeling-failures-with-jev-07d829d8338b82f5.md): ClickHouse · 2026-10-27 · Medium · 15 min read · Evaluation, AI agents, LLMs, SQL, Analytics & OLAP
  Jev, a typed classifier model returning calibrated answers in 70-500 ms, was applied to the Agentic Analytics Benchmark for two jobs: labeling failed text-to-SQL agent runs and ranking warehouse tables per question.

## 2026-10-26

- [Gems of DuckDB 2.0.0](https://swe.quest/articles/gems-of-duckdb-2-0-0-0cf205137ec12582.md): DuckDB · 2026-10-26 · Medium · 8 min read · Databases, SQL, Analytics & OLAP, Python
  DuckDB 2.0.0 LTS includes a set of smaller features beyond its headline items.

## 2026-10-20

- [The Agentic Analytics Benchmark, round two: GPT-6, Claude Opus 5.5, Claude Sonnet 5.5](https://swe.quest/articles/the-agentic-analytics-benchmark-round-two-gpt-6-claude-opus-5-5-claude-sonnet-5-f67c49a44d812e12.md): ClickHouse · 2026-10-20 · Medium · 9 min read · Evaluation, AI agents, LLMs, Analytics & OLAP, SQL
  Five new models (GPT-6 Astra, Luna, Sol, Claude Opus 5.5 and Claude Sonnet 5.5) were added to a frozen 201-question agentic text-to-SQL benchmark over a synthetic ClickHouse warehouse.

## 2026-10-14

- [From 2,500 requests to 24: Rebuilding star history without the stargazers](https://swe.quest/articles/from-2-500-requests-to-24-rebuilding-star-history-without-the-stargazers-7995b4a68a7c537d.md): GitHub Engineering · 2026-10-14 · Medium · 7 min read · API design, SQL, Databases, Performance engineering, Privacy
  GitHub replaced identity-bearing stargazer pagination with an aggregate star-history endpoint that returns up to 30 weeks of daily star counts per request, with no usernames attached.
- [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-09-30

- [pg\_clickhouse & chdb updates: Encoding, nesting, and types](https://swe.quest/articles/pg-clickhouse-chdb-updates-encoding-nesting-and-types-54018d870fc3076b.md): ClickHouse · 2026-09-30 · Medium · 8 min read · PostgreSQL, Analytics & OLAP, Databases, SQL
  pg\_clickhouse v0.11.0 and the chdb extension v0.1.2 improve Postgres–ClickHouse type compatibility.

## 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-23

- [ClickHouse release 26.9](https://swe.quest/articles/clickhouse-release-26-9-90b0394e74eeb570.md): ClickHouse · 2026-09-23 · Medium · 18 min read · Analytics & OLAP, SQL, Databases, Identity & auth
  ClickHouse 26.9 ships 56 new features, 135 performance optimizations and 464 bug fixes.

## 2026-09-11

- [AI Functions in ClickHouse: Upgrade your SQL to the AI age](https://swe.quest/articles/ai-functions-in-clickhouse-upgrade-your-sql-to-the-ai-age-11cec6552950f306.md): ClickHouse · 2026-09-11 · Medium · 12 min read · LLMs, SQL, RAG & retrieval, Analytics & OLAP, Cost optimization
  ClickHouse's beta AI Functions call LLM and embedding providers directly from SQL.

## 2026-09-10

- [Loading Parquet data into MySQL with ClickHouse](https://swe.quest/articles/loading-parquet-data-into-mysql-with-clickhouse-e9a6bbccc1c8e2b3.md): ClickHouse · 2026-09-10 · Medium · 6 min read · MySQL, Data pipelines, SQL
  MySQL has no native Parquet import, but clickhouse-local can read a Parquet file over HTTP with the \`url\` table function and write it straight into a MySQL table via \`INSERT INTO FUNCTION mysql(...)\`.
- [ClickHouse release 26.8](https://swe.quest/articles/clickhouse-release-26-8-2f8e67333d869615.md): ClickHouse · 2026-09-10 · Medium · 25 min read · Analytics & OLAP, SQL, Databases
  ClickHouse 26.8 is a long-term support release with 98 new features, 128 performance optimizations and 556 bug fixes.

## 2026-09-05

- [ClickHouse as a streaming HTTP API](https://swe.quest/articles/clickhouse-as-a-streaming-http-api-20b4965fc67cb6c7.md): ClickHouse · 2026-09-05 · Medium · 16 min read · Analytics & OLAP, API design, SQL
  ClickHouse 26.8 can serve a parameterized HTTP API directly, removing the thin API layer often placed in front of it.

## 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.
- [Build a real-time market data app with ClickHouse and Massive](https://swe.quest/articles/build-a-real-time-market-data-app-with-clickhouse-and-massive-0320c9b65a8a9694.md): ClickHouse · 2026-09-04 · Medium · 15 min read · Analytics & OLAP, Real-time systems, JavaScript, SQL, React
  A real-time tick data app can stream stock trades and quotes from Massive (formerly Polygon.io) over WebSockets straight into ClickHouse, with a Node.js backend and a React frontend for live visualization.

[Next page](https://swe.quest/index.md?tag=sql&page=2)

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