---
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/?source=clickhouse&tag=algorithms"
---

# Posts

Filtered by topics: Algorithms, source: ClickHouse.

Posts 1–9 of 9, page 1 of 1, newest first.

## 2026-10-28

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

## 2025-12-31

- [Solving the "Impossible" in ClickHouse: Advent of Code 2025](https://swe.quest/articles/solving-the-impossible-in-clickhouse-advent-of-code-2025-a7dba91c6e7476ad.md): ClickHouse · 2025-12-31 · Medium · 42 min read · SQL, Analytics & OLAP, Algorithms
  All 12 Advent of Code 2025 puzzles are solved in pure ClickHouse SQL, each as a single query that parses the raw input and computes both parts with no UDFs, temporary tables or preprocessing.

## 2025-11-26

- [Using Event Patterns in ClickStack to accelerate observability analysis](https://swe.quest/articles/using-event-patterns-in-clickstack-to-accelerate-observability-analysis-7a0fbc615de3ddd6.md): ClickHouse · 2025-11-26 · Medium · 9 min read · Observability, Analytics & OLAP, Algorithms
  ClickStack clusters logs and traces into event patterns at query time using the Drain3 template-mining algorithm, which runs in the browser via Pyodide (Python compiled to WebAssembly).

## 2025-10-30

- [Improve logs compression with log clustering](https://swe.quest/articles/improve-logs-compression-with-log-clustering-6656d2f1ad6f9ec5.md): ClickHouse · 2025-10-30 · Medium · 16 min read · Observability, Analytics & OLAP, Data pipelines, Algorithms
  Drain3 log template mining, run inside ClickHouse as a Python executable UDF, can turn unstructured application logs into structured columnar data.

## 2025-09-24

- [Trace similarity systems on top of ClickHouse to analyze crash stack traces from our CI](https://swe.quest/articles/trace-similarity-systems-on-top-of-clickhouse-to-analyze-crash-stack-traces-c60df248c0d43431.md): ClickHouse · 2025-09-24 · Medium · 9 min read · Debugging, CI/CD, SQL, Algorithms, Testing
  ClickHouse built a crash-deduplication pipeline for its CI that groups similar stack traces from fuzzing, stress and functional tests using the TraceSim similarity method, implemented almost entirely in ClickHouse SQL.

## 2024-02-13

- [ClickHouse Release 24.1](https://swe.quest/articles/clickhouse-release-24-1-4e8992d985c7e74d.md): ClickHouse · 2024-02-13 · Medium · 14 min read · Analytics & OLAP, SQL, Algorithms
  ClickHouse 24.1 ships 26 features, 22 performance optimisations and 47 bug fixes.

## 2023-12-05

- [ANN Vector Search with SQL-powered LSH & Random Projections](https://swe.quest/articles/ann-vector-search-with-sql-powered-lsh-random-projections-ab84d00f3cdada4d.md): ClickHouse · 2023-12-05 · Medium · 29 min read · Vector search, Analytics & OLAP, SQL, Algorithms
  Approximate nearest neighbor search can be built in pure ClickHouse SQL using locality-sensitive hashing with random projections.

## 2023-04-12

- [Speeding up LZ4 in ClickHouse](https://swe.quest/articles/speeding-up-lz4-in-clickhouse-dbbd26281ee7c0df.md): ClickHouse · 2023-04-12 · Hard · 32 min read · Performance engineering, Storage engines, C & C++, Algorithms, Analytics & OLAP
  LZ4 decompression often tops ClickHouse query profiles because highly compressible, cached columnar data shifts the cost onto CPU, yet storing data uncompressed proved impractical due to disk space.

## 2023-02-16

- [Five Methods For Database Obfuscation](https://swe.quest/articles/five-methods-for-database-obfuscation-477824be1d934bc1.md): ClickHouse · 2023-02-16 · Hard · 23 min read · Analytics & OLAP, Privacy, Performance engineering, Testing, Algorithms
  ClickHouse needed publishable benchmark data that kept the properties driving analytical query performance in its private web analytics dataset: compression ratio, per-column and cross-column cardinality, and value distributions such as power laws.

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