Skip to main content

Read-only ClickHouse cost & performance optimizer — local demo CLI

Project description

OptiHouse — local demo CLI

Read-only ClickHouse cost & performance optimizer you run on your own machine. Point it at a cluster and it reads system.* tables in read-only mode, estimates where storage and compute money is leaking, and shows you the top opportunities — without connecting your cluster to any service. Your credentials and data never leave your machine.

The full analysis (every finding, the exact $ figure, and ready-to-apply SQL fixes) lives at https://optihouse.io.

Install

pip install optihouse

To scan a real cluster, also install the driver:

pip install "optihouse[clickhouse]"

Try it in 10 seconds (no cluster needed)

optihouse scan --demo

Runs against a bundled synthetic cluster so you can see exactly what the tool produces before pointing it at anything real.

Scan your own cluster (read-only)

optihouse scan --host clickhouse.internal --user readonly --password '***'
# TLS:
optihouse scan --host ch.example.com --port 9440 --secure --user readonly --password '***'

Everything is SELECT-only against system.*. No writes, no agents, no data rows read, nothing sent anywhere.

What you get locally vs. on optihouse.io

Local demo CLI optihouse.io (free account)
Cluster summary & opportunity count
Top 3 findings in full
Exact total $/month savings masked
Full ranked list of findings top 3 only ✅ all 40 advisors
Copy-paste ALTER/SELECT fixes 🔒
Dashboard + before/after impact tracking

Prefer a UI over the terminal? The same analysis runs in the browser at https://optihouse.io — connect a cluster (read-only) and see figures measured on your own data.

Privacy

The CLI only issues read-only queries against ClickHouse system tables (table sizes, part counts, column codecs, aggregated query_log patterns). It does not read your data rows and does not transmit anything off the host.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

optihouse-0.1.0.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

optihouse-0.1.0-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file optihouse-0.1.0.tar.gz.

File metadata

  • Download URL: optihouse-0.1.0.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for optihouse-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9963f493fae7b24885e7728d2dedeaae74bdf598d90c8e4cf58c2fe54bf88fae
MD5 541fbf6f5fc23024672267942d976a16
BLAKE2b-256 8928be6ad7bca9ff019d715f330b3a3b96d81aa91d25bb60165058cfc36293fe

See more details on using hashes here.

File details

Details for the file optihouse-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: optihouse-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for optihouse-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 68421cf4af1e09d359596a6567968dc7e2ad3d22dd8bafd53c8a662fc93bf562
MD5 ca99c0545d13b392da22d6f0d7de89de
BLAKE2b-256 694b35b64c7b823c4d821f78d0db5d01c6aa25c5982a4786ce7ceafa68418d65

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page