ClickHouse Fiddle — A SQL Playground for ClickHouse
ClickHouse Fiddle is an open-source SQL playground that runs arbitrary queries, including DDL and writes, against any ClickHouse version and produces a shareable link to the results. Each request starts an ephemeral Docker container on a runner machine. A custom lightweight coordinator load-balances across runners, preferring those that already have the image pulled, then kills the container after execution and stores results. This trades some startup latency (p90 around 2 seconds on hot versions) for far lower resource use than always-on instances, and the custom coordinator was chosen over Kubernetes for simplicity and speed.
Related posts
- Announcing the new ClickHouse SQL Playground
ClickHouse mediumAdept
sql.clickhouse.com is a new public SQL playground offering over 35 datasets (60 TB) and 220 example queries, with syntax highlighting, autocomplete, query parameters, basic charting via Apache ECharts and shareable links. It is a NextJS/React single-page app talking directly to ClickHouse's HTTP interface. Read-only credentials are exposed safely by combining RBAC, query complexity limits (10 billion rows read, 1000 rows returned) and per-IP quotas of 60 queries per hour. The service runs on a fixed 3-node, 30-vCPU ClickHouse Cloud cluster backed by object storage. Live query progress polls system.processes every 100ms by query ID under a separate monitor user, avoiding HTTP progress headers that the browser fetch API can't read.
- Building ClickCannon - a tool for benchmarking ClickHouse
ClickHouse mediumAdept
ClickCannon is an open-source Go tool for benchmarking ClickHouse insert and query workloads, built to produce hardware sizing recommendations for ClickStack observability deployments. It replays real OpenTelemetry data stored as ZSTD-compressed Native format at a precisely controlled uncompressed throughput. A feedback-loop rate limiter combines a sliding window with a token-bucket gate. Independently scaled disk and insert worker pools exchange reusable ch-go blocks through Go channels, which avoids allocations. Block and connection retirement kept memory flat across 30-day runs, and configurable workflows with think times, time ranges and latency percentile targets simulate concurrent users querying while data arrives.
- How Fountain rebuilt its data plane on ClickHouse Cloud to power Cue, the Frontline Superintelligence
ClickHouse mediumAdept
Fountain replaced a multi-vendor batch pipeline (third-party replication to S3/Iceberg, then BigQuery) with ClickPipes CDC streaming Postgres and MongoDB directly into ClickHouse Cloud, cutting analytics freshness from three hours to under two minutes, with most queries sub-second, at about 66% lower cost. MongoDB documents land in ClickHouse's native JSON type, which enables schema-on-read dot-notation access, and over 2,000 incremental materialized views built with dbt replace any orchestrator. Moving a lagInFrame plus ASOF JOIN window computation into insert-time materialized views cut per-query memory by 80% on an 838M-row table, and 60-98% across other query shapes. Tenant isolation for the Cue LLM agent is enforced through empty service users, versioned RBAC roles, session variables set by the MCP backend, and row policies, so the design fails closed and resists prompt injection.
- clickhouse.build: An agentic CLI to accelerate Postgres apps with ClickHouse
ClickHouse mediumAdept
clickhouse.build is an open source agentic CLI that adds ClickHouse to Postgres-backed TypeScript apps for analytical queries while leaving transactional work in Postgres. A scanner agent finds analytical queries in raw SQL, Prisma or Drizzle code. A data migrator then generates ClickPipes Postgres CDC API calls to sync the needed tables. A code migrator, checked by a QA sub-agent against reference codebases, rewrites queries behind a strategy pattern toggled by a USE_CLICKHOUSE feature flag. The workflow keeps a human in the loop to approve each change and aims to produce a backwards-compatible proof of concept in under an hour.
- clickhousectl v0.2.0: Postgres, ClickPipes and more
ClickHouse mediumAdept
clickhousectl v0.2.0 adds Postgres management, both local (Docker-backed, keyed on name and major version 16–18) and as ClickHouse Cloud managed Postgres. It also adds ClickPipes commands for Kafka, Kinesis, object storage, CDC from Postgres/MySQL/MongoDB and BigQuery snapshots, plus SQL over HTTP through Query Endpoints so no local ClickHouse binary is needed. Query Endpoints are locked to a per-service API key whose only grant is a sql_console_admin binding, so a leaked key reaches one service only. Other changes include Markdown-style table output that uses fewer tokens for agents, a --debug flag for credential resolution, and a standalone typed async Rust crate, clickhouse-cloud-api.