← Back to all projects

ClickHouse

Columnar SQL database that agent tracing stacks are built on

OfficialApache-2.0
Stars
49.3k
Forks
8.8k
Open issues
6.9k
Last commit
16 Aug 2026

Overview

A column-oriented engine for append-heavy, high-cardinality data, which is the shape agent telemetry takes: one row per model call, filtered later by model, cost or error. Langfuse moved its traces here from Postgres in December 2024 and ClickHouse acquired the project in January 2026, so a self-hosted observability stack increasingly means running this underneath. It is the wrong choice for anything transactional — updates and deletes rewrite whole column parts rather than edit rows — so treat it as where agent runs land, not as the database your application writes state to.

What can you do with ClickHouse?

  • Store one row per model callColumnar storage means a query filtering observations by model, cost or error status reads only those columns while multi-megabyte prompt and completion payloads stay on disk, and the engine is built for large batch inserts merged in the background rather than single-row writes — which is how a queued trace ingestion pipeline wants to write.
  • Inherit the storage layer under LangfuseLangfuse moved tracing data out of Postgres into ClickHouse in December 2024, and ClickHouse acquired Langfuse on 16 January 2026, saying the core stays MIT-licensed and self-hostable at production scale. ClickStack, its OpenTelemetry-native observability stack, runs on the same engine.
  • Search embeddings without a second databaseA vector_similarity index builds an HNSW graph over Array(Float32), Array(Float64) or Array(BFloat16) columns with L2Distance, cosineDistance or dotProduct, available from version 25.8. The index has to be loaded from disk into memory in full to serve a search, and building it slows inserts and merges.
  • Expect exact scans once you filterPre-filtering by metadata is, in the documentation's own words, an unsolved problem — ClickHouse falls back to exact nearest-neighbour search — and post-filtering can return fewer rows than the LIMIT asked for when candidates fail the WHERE clause. If narrow metadata filters over a large collection are your main access pattern, a dedicated vector store handles it better.
  • Let an agent query it over MCPClickHouse publishes mcp-clickhouse in a separate repository, exposing list_databases, list_tables and run_query plus a chDB tool for embedded queries. It runs read-only unless CLICKHOUSE_ALLOW_WRITE_ACCESS=true is set, with DROP and TRUNCATE behind a second flag.

Documentation

Reproduced from the ClickHouse/ClickHouse README, published under Apache-2.0. Read the original ↗

How To Install (Linux, macOS, FreeBSD)

curl https://clickhouse.com/ | sh
  • Official website has a quick high-level overview of ClickHouse on the main page.
  • ClickHouse Cloud ClickHouse as a service, built by the creators and maintainers.
  • Tutorial shows how to set up and query a small ClickHouse cluster.
  • Documentation provides more in-depth information.
  • YouTube channel has a lot of content about ClickHouse in video format.
  • ClickHouse Theater contains presentations and videos about ClickHouse.
  • Slack and Telegram allow chatting with ClickHouse users in real-time.
  • Blog contains various ClickHouse-related articles, as well as announcements and reports about events.
  • Bluesky and X for short news.
  • Code Browser (github.dev) with syntax highlighting, powered by github.dev.
  • Contacts can help to get your questions answered if there are any.

Monthly Release & Community Call

The ClickHouse 26.7 Release Call took place on July 23, 2026 — watch the recording and the slides.

The ClickHouse 26.6 special “10 Year Anniversary” Release Call — recording and slides.

Watch all release presentations and videos at ClickHouse Theater and YouTube Playlist.

Upcoming Events

Keep an eye out for upcoming meetups and events around the world. Want to speak? Apply here You can also peruse ClickHouse Events for a list of all upcoming trainings, meetups, speaking engagements, etc.

Upcoming meetups

Recent meetups

Recent Recordings

  • Recent Meetup Videos: Meetup Playlist Whenever possible recordings of the ClickHouse Community Meetups are edited and presented as individual talks.

Interested in joining ClickHouse and making it your full-time job?

ClickHouse is a nice DBMS, and it’s a good place to work.

Check out our current openings here: https://clickhouse.com/company/careers

Email: careers@clickhouse.com!