OptiHouse documentation
OptiHouse is a read-only observability and optimization platform for ClickHouse. It connects to your cluster, scans the system tables, and turns what it finds into ranked, copy-paste-ready fixes — each with an expected impact and a confidence score.
What it does
Every 15 minutes OptiHouse collects a snapshot from query_log, system.parts, system.replicas, system.columns and a handful of other system tables. It compares the snapshot against the previous one, runs ~40 analyzers over it, and produces three kinds of output:
How a scan works
- 1Connect read-onlyAdd a ClickHouse host with a read-only user. An SSH bastion is supported for VPC-locked clusters.
- 2CollectOptiHouse pulls a snapshot from
system.*. No agents run on your boxes — the platform connects out to the cluster, not the other way round. - 3AnalyzeStorage, query, schedule and cluster analyzers run over the snapshot. Each produces zero or more recommendations.
- 4Rank & explainFindings are ranked by expected impact in dollars and severity, then attached to an auto-generated runbook.
Is it safe?
OptiHouse only ever issues SELECT statements against system.* tables. It never writes data, never alters schema and never touches your application tables. The recommended ClickHouse user has readonly = 1 set, so the database itself enforces this.
Where to next
- Quick start — connect a cluster and see your first recommendations in under five minutes.
- Connecting ClickHouse — the five connectivity modes and the read-only user recipe.
- Recommendation catalog — every finding the platform can produce, grouped into ten waves.
- API reference — drive scans and read findings programmatically.