Loading…

Clickhouse
High-performance open-source columnar database management system designed for real-time analytics and data warehousing at scale
- 292 posts summarised
- latest
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
From their blog
Latest articles
SET allow_preview_features = 1: Self-service previews in ClickHouse Cloud
ClickHouse Cloud has introduced a self-service Previews page, eliminating the previous need to contact account teams for access to experimental features. The page, under Organization Settings, displays eligible previews with two modes: self-enablement (toggle on) and self-signup (waitlist), and each preview has a feedback button for thumbs-up/down and comments that lands in a ClickHouse table. Previews are experimental and not covered by default SLAs, so users should exercise caution especially in production, and once a preview graduates it becomes part of ClickHouse. Org Admins can toggle org-wide previews, while others see grayed-out toggles with a prompt to contact their admin, and all changes are audit-logged. Initial previews include Health Checks, Table Views, and Approved Domains (ready to toggle), plus On-Demand Compute and Schema Advisor (waitlist signup), with controls also via the OpenAPI and rollout beginning November 3.
Bring high-performance analytics to your lakehouse with ClickHouse and Amazon S3 Tables
Organizations keep data in open table formats like Apache Iceberg but often copy it into separate systems for fast analytics, incurring cost, staleness, governance sprawl, and lock-in. Amazon S3 Tables provide fully managed Iceberg storage, and ClickHouse offers high-performance real-time analytics. This post demonstrates connecting ClickHouse to S3 Tables through the Iceberg REST endpoint using the DataLakeCatalog database engine, enabling in-place querying and writing without data migration. ClickHouse reads only relevant Parquet objects from S3 and commits writes via atomic pointer swaps through the catalog. The same read-transform-write pattern extends to AI agent workloads needing fast iterative access to analytical results.
ClickHouse Unifies Enterprise AI Data Stack with Launch of Expanded Platform
ClickHouse announced a major platform expansion that unifies enterprise AI data workloads, including Postgres, observability, security, and AI engineering, into a single composable platform. The company also acquired Xata, an agent-native Postgres company, to provide developers and AI agents with isolated, production-like data environments on demand. The expansion addresses the unpredictable query bursts and cost pressures that AI agents create on fragmented data infrastructure. ClickHouse Managed Postgres is generally available, while ClickHouse Observability is in public beta and ClickHouse Security is in private preview. The open-source Langfuse AI Gateway, acquired in January, adds an AI Gateway for visibility and control over AI model usage.
The observability UI as we know it is dead. So what comes next?
ClickHouse argues that traditional observability UIs cannot satisfy every team’s unique workflows, leading many large companies to build their own. To address this, they introduce ClickHouse Observability Apps, which let users generate custom investigation experiences by describing an application in natural language. An agent builds the app with custom views, navigation, and live data, which users can refine through conversation and share with their team. The approach relies on SQL for flexible analysis, allowing queries that go beyond fixed endpoints, such as calculating processor baselines or linking payment attempts to orders. The feature is in private preview, with ongoing work on evaluation alignment, prompt injection robustness, and reusable components.
Announcing ClickHouse Observability - fully managed observability on ClickHouse Cloud
ClickHouse announced ClickHouse Observability, a fully managed observability solution in public beta, powered by ClickHouse Cloud and open-source ClickStack. The service provides a managed OTLP endpoint for OpenTelemetry data, handling ingestion, schemas, and storage automatically. Users can investigate logs, metrics, and traces through the ClickStack UI, MCP tools, or SQL without managing database infrastructure. Pricing is volume-based at $0.20 per GB for logs and traces and $0.10 per million data points for metrics, with a 50% discount during public beta. Additionally, ClickHouse Observability Apps, in private preview, allows users to describe a custom investigation UI and have an agent generate queries and visualizations without writing code.
Introducing ClickHouse Security in private preview, built on RunReveal
ClickHouse Security, an agentic SIEM built on RunReveal and ClickHouse Cloud, is now in private preview. It turns a user’s existing ClickHouse Cloud service into a security data platform by provisioning schemas and views, with no separate system to manage. The platform includes AI agents for alert triage, detection tuning, and threat hunting, accessible through natural language chat, an MCP server, API, CLI, and Slack bot. Over one hundred first-party integrations bring in normalized log data, and built-in pipelines filter, route, and enrich logs before storage. Managed detections cover common threats from day one, and users can write custom scheduled SQL or streaming Sigma rules managed as code with the CLI.
Langfuse launches AI Gateway
Langfuse, the open-source AI observability platform acquired by ClickHouse in January 2026, launches the AI Gateway in public beta. The gateway serves as a central entry point to govern all AI traffic, logging every model call natively in Langfuse for cost tracking and analysis. It is built in Rust, adds under 3ms median latency with tracing on, and supports 1,000+ concurrent streams on a single 2 vCPU node. The gateway is MIT-licensed, deploys as a single 22MB Docker image, and requires only changing the base URL and using a gateway key. OpenAI and Anthropic are supported in beta, with more providers planned.
ClickHouse Managed Postgres goes GA and Xata acquisition brings agentic capabilities to the service
ClickHouse announced the general availability of ClickHouse Managed Postgres, a high-performance, enterprise-grade Postgres service backed by local NVMe storage. The service delivers 2–10× performance improvements for OLTP workloads and supports hundreds of production customers, including AI-native startups and enterprises. Native CDC through WalShadow and ClickPipes, along with the pg_clickhouse extension, unify transactions and analytics between Postgres and ClickHouse. The company also acquired Xata to add instant branching, cloning, automatic idling, and scale-to-zero capabilities powered by Xatastor’s copy-on-write storage. These agentic features will be integrated into Managed Postgres to support development workflows, agent sandboxing, and agent memory within a single platform.
The largest expansion of ClickHouse yet
ClickHouse announced the largest platform expansion since ClickHouse Cloud, introducing four new offerings. ClickHouse Managed Postgres is now generally available, providing a fully managed PostgreSQL service with native change data capture into ClickHouse. ClickHouse Observability enters public beta, enabling teams to ingest and investigate high-volume telemetry without data fidelity loss. ClickHouse Security launches in private preview as an agentic SIEM built on RunReveal technology, featuring AI-powered investigations. The Langfuse AI Gateway, also in public beta, gives teams visibility and control over AI usage and costs. The acquisition of Xata accelerates the Postgres roadmap with instant branching and scale-to-zero environments for AI agents.
How Infinitas Learning uses ClickHouse Managed Postgres to process billions of events for 1.6M unique learners
Infinitas Learning, a major European educational publisher, processes results for 1.6 million learners and 324 million assignments annually. After moving from Neon to ClickHouse Managed Postgres, transactional P50 latency dropped from milliseconds to double-digit microseconds, with P99 in double-digit milliseconds. Customer-facing analytics migrated from a complex pipeline to ClickHouse Cloud, where optimization and a distributed cache cut P99 latency from about 13 seconds to 410 milliseconds. The migration of 750 GB of data completed in 16 hours with zero downtime. The team now uses Postgres for transactions and ClickHouse for analytics, with plans to unify them via the pg_clickhouse extension.
What I learned from a month with WalShadow on ClickHouse Managed Postgres
A database engineer tested WalShadow, a managed replication method in ClickHouse Managed Postgres, during a Private Preview. WalShadow reads the physical WAL directly, bypassing logical replication, and writes changes to ClickHouse as blocks. In side-by-side tests with ClickPipes, WalShadow maintained a median latency of about 0.4 seconds at write rates from 1,000 to 200,000 rows per second, while ClickPipes latency grew beyond 50,000 rows per second regardless of settings. Replication continued through schema changes, source restarts, and destination auto-idle without manual intervention. The author notes caveats around table selection, destination table usage, and large transactions, and confirmed that issues reported during the preview were fixed.
ClickHouse release 26.10
ClickHouse 26.10 introduces a function composition operator (|) that chains functions into a pipeline, making lambdas in higher-order functions like arrayMap more readable. The release adds a written_rows counter to quotas, allowing administrators to cap ingestion by the number of rows a user writes per interval. New Array and Map functions expand the library for working with collections. String filtering during scan checks LIKE, startsWith, and endsWith while deserializing a column, reducing peak memory by about 98% in tests without affecting execution time. An experimental columns cache avoids repeated decompression and deserialization of the same data, and disk spilling for IN subqueries is now supported.
Fencing a Postgres primary that might still be alive
Promoting a Postgres standby does not stop the old primary from accepting writes, risking split brain or lost writes. DNS TTLs, bypassable synchronous replication, and existing connections keep the old primary writable. The control plane behind ClickHouse Managed Postgres fences the old primary by running multiple mechanisms in parallel and promoting as soon as the first succeeds. On bare metal, it runs ip link set vetho<vm> down on the host; on AWS, it detaches the secondary NIC with force: true ; on GCP, it deletes the Dynamic NIC. When every mechanism fails, the control plane still promotes because the design is fail-open, prioritizing availability over a stricter approach that would page a person.
MongoDB CDC connector for ClickPipes is now generally available
The MongoDB CDC connector for ClickPipes is now generally available after replicating over 1.5PB of data for hundreds of production customers. It leverages MongoDB Change Streams for low-latency synchronization and introduces parallel snapshotting that automatically chunks collections by document ID to speed up initial loads and resyncs. A structured ingestion mode samples documents to infer a schema, mapping top-level fields to typed ClickHouse columns while storing unexpected or type-mismatched values in a JSON column for later handling. Observability has been extended with metrics for CPU, memory, network bandwidth, and replication lag, available in the ClickPipes UI and via Prometheus endpoint. The connector supports programmatic management through Open API and Terraform, and its billing is based on data volume with a fixed compute cost per service, offering 5-10x cost savings over third-party ETL tools.
What's new in ClickStack - September and October '26
ClickStack combined its September and October 2026 releases, covering versions 2.39 through 2.42, into a single update. Dashboards gained experimental ad hoc filters that let users choose keys and values during investigation, with conditions stored in the URL and applied across tiles. PromQL support expanded beyond time series to number tiles, tables, pie charts, bar charts, and heatmaps, including multiple expressions, instant and range queries, and Grafana-compatible macros. Dashboard filters can now be single-select or required, relative time ranges can be saved, and markdown tiles can use dashboard variables. The release also adds query origin tracking, a Trace logs tab, alert creation from the chart explorer, an MCP service health tool, StatsD and span metrics in the collector, and a required EXPRESS_SESSION_SECRET for self-hosted deployments with authentication enabled.
Does your application need local data or faster Postgres?
Managed Postgres services that keep data on network-attached storage can become I/O-bound, so adding compute does not necessarily improve reads, writes, WAL activity, or maintenance. A local synchronization layer can make reads local by subscribing to logical replication and materializing a declared subset, but it creates a second copy of data with its own lifecycle. Writes still go to central Postgres, and applications must reconcile optimistic local state with committed changes arriving asynchronously. AI agents make declared subsets harder to define because their query paths and working sets can change with each task, reducing reuse across local copies. ClickHouse Managed Postgres places Postgres on NVMe storage attached to the database compute; the recommended path is to measure the central database first, add read replicas where freshness allows, then offload analytical workloads to ClickHouse through pg_clickhouse when usage outgrows Postgres.
What's new in clickhousectl v0.5.0
clickhousectl v0.5.0 introduces a complete user-defined function workflow that lets developers scaffold, test locally, and deploy to Cloud with a single command. The release adds observability for ClickHouse Managed Postgres, including metrics, server logs, slow-query patterns, and read-only SQL over HTTP. The command surface is standardised with uniform selectors, –file inputs, global org selection, and JSON errors everywhere, though some changes are breaking. New features include saved queries with Query API endpoints, BigQuery CDC ClickPipes, ClickStack support, and permission listings in help. The CLI also gains far wider Cloud coverage for service settings, scaling schedules, upgrade windows, snapshots, and BYOC infrastructure.
How OpenRouter observes, understands, and acts on 740 million LLM requests a day with ClickHouse Cloud
OpenRouter, a gateway between developers and LLM inference providers, uses ClickHouse Cloud as its single analytics store to handle over 740 million requests daily across 500+ models. Since adopting ClickHouse in November 2024, monthly requests grew 33x to 19.7 billion, with 110+ trillion tokens served per week. The platform writes request telemetry once and uses materialized views to produce rollups for customer dashboards, public model rankings, and endpoint health, powering observability, AI agents, Slack bots, and routing decisions. Internal AI agents, accessible via Slack, query the same ClickHouse data to answer support questions and trace failures without manual digging. The newest routing component, the Jev Router from TypeSafe AI, classifies prompts into task types, ranks models by real usage from ClickHouse, and feeds outcomes back into the store for continuous improvement.
Meet GroeneAI: our autonomous contributor to ClickHouse
GroeneAI is an autonomous engineering agent that investigates and fixes failures in the ClickHouse codebase without human intervention, selecting its own work from CI results, fuzzer findings, and user reports. It reproduces failures, writes and tests fixes, and follows pull requests through CI and review, operating 24 hours a day, seven days a week. The agent runs on Nerve, an open-source runtime that provides persistent sessions, memory, and tools for scheduled execution, allowing it to learn from past investigations and autonomously handle review comments and rebase changes. Since March 2026, GroeneAI has contributed over 3,000 merged pull requests, covering the SQL engine, storage, query planning, and test infrastructure. A detailed example shows how it fixed a query condition cache bug that incorrectly skipped rows after mutations, with the fix guarded by checks for mutation steps and row-level security, taking sixteen days from the initial failure to the final merge.
The new cost-based join optimizer with reordering support for non-inner joins
ClickHouse introduces a new cost-based join optimizer (CBO) based on DPsub, an exhaustive dynamic-programming algorithm that finds the cheapest join order for queries with up to 12 tables. The optimizer is enabled by default in the upcoming 26.10 release. Unlike the previous greedy optimizer that only reordered inner joins, the new optimizer supports reordering of LEFT, RIGHT, FULL outer joins, as well as SEMI and ANTI joins, using a conflict detector to ensure correctness. The conflict detector admits only reorderings that preserve the query result and finds every valid plan in the search space, with testing on over 90,000 join trees and 2.8 million candidate plans. Performance tests show significant speedups, for example TPC-H Q2 improved by 55% and TPC-DS Q73 by 45% compared to the greedy default.
Topics they write about
All topics →Weekly digest
The best engineering reads, once a week.