What's new in clickhousectl v0.4.0
clickhousectl v0.4.0 adds horizontal autoscaling flags for ClickHouse Cloud services (min/max replicas, mutually exclusive with vertical memory-range flags), beta ClickPipe schema discovery for Kafka and Kinesis sources, and new ingestion controls such as --skip-initial-load, --start-after for continuous object-storage pipes and --server-id for MySQL CDC pipes. Postgres config patch now does true partial updates, OAuth tokens move to a global ~/.clickhouse/tokens.json, and local server stop becomes idempotent while local remove refuses to delete a version in use unless --force is passed. The release also introduces anonymous opt-out telemetry that records flag names but never values, and can be disabled via a command, DO_NOT_TRACK=1, or compiled out with cargo build --no-default-features.
Related posts
- What's new in clickhousectl v0.6.0
ClickHouse mediumAdept
clickhousectl v0.6.0 makes local projects work like Git: any directory containing `.clickhouse/` is a project root discovered from subdirectories, `CLICKHOUSECTL_PROJECT_DIR` pins the root, and layered `config.d` directories let teams check server config into the repo. Cloud connections can skip password handling via browser sign-in in `cloud clickhouse client` or by writing the one-time password only to `.env` with `create --dotenv`. The release also adds command `search`, shell completions and a `feedback` command, GA Managed Postgres with Postgres 19, PrivateLink, standby counts and deletion protection, and ClickPipes columns generated from `schema-discover` output. Downloads are now verified against release checksums, and OAuth logins saved by 0.5.x need one fresh login.
- 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.
- Getting started with clickhousectl: the ClickHouse CLI for local and cloud
ClickHouse mediumAdept
clickhousectl (alias chctl) is a single CLI that manages local ClickHouse versions, isolated named servers, project scaffolding and ClickHouse Cloud services. Shared version binaries, per-directory named servers with auto-assigned ports, and a standard clickhouse/ layout for tables, materialized views, queries and seed data make side-by-side upgrade testing straightforward. Cloud auth is deliberately split: browser OAuth grants read-only access, while service creation, scaling and schema changes require an API key, a guard aimed at agent-driven use. The tool also installs Claude Code skills for local dev and cloud deploy, and fits into CI via a static binary, env-var auth and JSON output, with a sample GitHub Actions schema-validation workflow.
- Terraform & OpenAPI for ClickPipes is now Generally Available
ClickHouse mediumAdept
ClickPipes, ClickHouse Cloud's managed ingestion service, is now generally available in the ClickHouse Terraform provider (v3.14.0+) and via stable OpenAPI endpoints. Coverage now includes CDC pipes for Postgres, MySQL and MongoDB, BigQuery and Azure Blob connectors, S3/GCS unordered mode and reverse private endpoints, with SSH tunneling still missing. A walkthrough shows how to configure a Postgres CDC pipe in HCL and import existing pipes using import blocks and -generate-config-out. A known limitation is that importing Postgres CDC pipes requires applying with stopped = true first so credentials are written to state.
- How Spyne simplified their CDC pipeline with ClickPipes and ClickHouse Cloud
ClickHouse mediumAdept
Spyne replaced a self-managed Debezium → Kafka → ClickHouse Kafka-engine/materialized-view CDC pipeline with ClickPipes on ClickHouse Cloud. The move eliminated 1–1.5 hours of manual work per table onboarding and fixed schema drift, where new source columns were silently dropped by DDL-locked materialized views. It also brought tradeoffs: snapshotting a new table pauses the whole pipe, so critical tables were isolated into dedicated pipes. ReplacingMergeTree's eventual consistency required adding FINAL to queries at extra CPU cost, and binlog loss forces full table resyncs instead of targeted partial ones.