Operating Query Engines

Run query engines in production. EXPLAIN literacy mapped across Trino/ClickHouse/Druid/DuckDB to one mental model, a methodology for profiling a slow query, the OOM-vs-spill-vs-fail memory story, concurrency and admission control (resource groups, quotas, laning), multi-tenancy and isolation, caching layers and their staleness traps, autoscaling stateless vs stateful engines, capacity planning for p99 concurrency, per-query cost attribution, benchmarking honestly and designing your own, upgrades that flip query plans, and five recurring incident patterns. Ends with running an engine in production.

Advanced14 chapters· 3h 53m· in Query Engines & OLAP

Course content

  1. 01EXPLAIN Literacy Across EnginesFree
  2. 02Profiling a Slow Query🔒
  3. 03Memory & Spill🔒
  4. 04Concurrency & Admission Control🔒
  5. 05Multi-Tenancy🔒
  6. 06Caching Layers🔒
  7. 07Autoscaling Workers🔒
  8. 08Capacity Planning🔒
  9. 09Cost Observability🔒
  10. 10Benchmarking Honestly🔒
  11. 11Designing Your Own Benchmark🔒
  12. 12Upgrades & Migrations🔒
  13. 13Incident Patterns🔒
  14. 14Capstone - Run a Query Engine in Production🔒

Prerequisites

Read the first chapter free

Start reading now — no account required for the free chapters.