Back to Data Sources
⚡
ClickHouse
High-performance OLAP for analytics at scale
Connection Settings
| Field | Description | Example |
|---|---|---|
| Host | ClickHouse server hostname | clickhouse.example.com |
| Port | HTTP interface port (default: 8123, or 8443 for HTTPS) | 8123 |
| Database | Database name | analytics |
| Username | Database user | default |
| Password | User password (encrypted at rest) | •••••••• |
| Secure | Connect over HTTPS instead of HTTP | on |
Features
HTTP Interface
Connects over ClickHouse's HTTP interface, so it works through load balancers and firewalls
HTTPS
Turn on Secure for TLS, including ClickHouse Cloud on port 8443
Columnar Speed
Aggregations over billions of rows come back fast enough for live dashboards
Materialized Views
Explore pre-aggregated data for instant insights
Ports
| Mode | Port | Use when |
|---|---|---|
| HTTP | 8123 | Self-hosted ClickHouse on a private network |
| HTTPS (Secure on) | 8443 | ClickHouse Cloud or any server reached over the internet |
The native TCP protocol (ports 9000 / 9440) is not used. Point DBCraft at the HTTP port.
Recommended Permissions
Create a read-only user for analytics:
CREATE USER dbcraft_reader IDENTIFIED BY 'secure_password'; GRANT SELECT ON analytics.* TO dbcraft_reader; GRANT SHOW TABLES ON analytics.* TO dbcraft_reader;
