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
Every finding + its $ impact
Total $/month & $/year savings
Copy-paste ALTER/SELECT fixes 🔒
All 40 advisors (demo runs a slice) partial
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.1.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.1-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: optihouse-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 089f8dd55484709858750642f9ffe386bb896a2321333b3cbcd28e59febbd695
MD5 451954126d20a3ab770b720c7901f301
BLAKE2b-256 56246df7ff86b826d8c5428d3adf4a7e8953f163da00dfc6607e767a9877e425

See more details on using hashes here.

File details

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

File metadata

  • Download URL: optihouse-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2f1d8d864a9a4c9b422c4a5da5f042a842d79d75e71c2086d5c0a0f1f882b576
MD5 8296305539606866c983f4b9a54786b3
BLAKE2b-256 577671510440daa170ee467553019db75e7fe9e6bd707e88a2bf6a3926113aec

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