About ClickHouse
ClickHouse is an open-source, column-oriented database built for analytics. Each column is stored separately and compressed, so aggregations read only the data they need. It speaks SQL, ingests dozens of file formats and is licensed Apache-2.0.
Hosted warehouses often bill by data scanned. On a CloudSat server the price is the plan, with NVMe storage and DDR5 memory, and you resize to a bigger plan as the dataset grows.
After deploy, ClickHouse server runs on Ubuntu 24.04 LTS. Its default config listens on localhost only, with the HTTP interface on port 8123 and the native protocol on 9000.
What you get with ClickHouse
- Columnar storage with strong compression
- SQL with joins, window functions and arrays
- MergeTree tables with partitions, TTLs and materialized views
- Reads Parquet, CSV, JSON and many other formats
- Queries files in S3-compatible storage in place
ClickHouse use cases
- Product analytics over billions of events
- Log and observability storage you query with SQL
- Fast backends for Grafana or Metabase dashboards
After you deploy ClickHouse
- When the server is Running, SSH in as root and check the service with
systemctl status clickhouse-server. - Open a SQL shell with
clickhouse-client(add--passwordif thedefaultuser has one) and runSELECT version(). - Create a dedicated user with a password for each application instead of sharing
default. - Before exposing 8123 or 9000, change
listen_host, add TLS or a proxy, and allow only your app servers in the CloudSat firewall.
ClickHouse ports
Open these in your firewall if you use one: 8123/tcp HTTP interface, 9000/tcp Native protocol.
ClickHouse FAQ
How much RAM does ClickHouse need?
Its docs say it can run in as little as 2 GB with tuning, warn of memory errors below 16 GB, and recommend 32 GB or more for production. Test on 4 GB, then move to 16 GB ($39.98) for real data.
Can Grafana or Metabase query it?
Yes, both have ClickHouse connectors. Point them at port 8123 or 9000 and allow only the dashboard server's IP in your firewall rules.
Disclaimer. The ClickHouse project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.