Skip to main content

Overview

Connect Plumi to ClickHouse databases for blazing-fast analytics on large datasets. Supports:
  • Self-hosted ClickHouse
  • ClickHouse Cloud
  • Altinity Cloud

Connection Details

Setting Up a Read-Only User

Create a dedicated read-only user:

ClickHouse Cloud

For ClickHouse Cloud:
  1. Go to your ClickHouse Cloud console
  2. Navigate to Settings > Security
  3. Add Plumi’s IP to the allowed list
  4. Use the provided hostname and credentials

Best Practices

Query Optimization

ClickHouse is optimized for analytical queries. For best performance:
  • Use aggregations (GROUP BY, SUM, COUNT)
  • Filter by partitioning columns first
  • Avoid SELECT * on large tables
  • Use LIMIT when exploring data

Example Queries

Troubleshooting

Connection Timeout

ClickHouse queries on large datasets can take time. Increase the timeout in your connection settings.

Memory Limit Exceeded

Your query may be too resource-intensive. Add LIMIT or use sampling.