Skip to content

How-To - ClickHouse

Check Data Distribution Between Storage Devices in Managed ClickHouse®'s Tiered Storage
See how your table parts are spread between the block storage tier and object storage, and how much space each tier uses.
Use Query Cache in Managed ClickHouse®
Cache the result of repeated SELECT queries to cut latency, and learn the size and entry limits that apply.
Configure Data Retention Thresholds in Managed ClickHouse®'s Tiered Storage
Set TTL rules that move data to object storage as it ages, and control age based deletion.
Visualize ClickHouse® Data with Grafana®
Add your service as a Grafana data source with the official ClickHouse or Altinity plugin, and build dashboards.
Connect to Managed ClickHouse® with clickhouse-client
Open an interactive SQL session with the ClickHouse client over the native TLS port.
Connect to Managed ClickHouse® with Go
Connect from Go with clickhouse-go, over the native protocol or HTTPS.
Connect to Managed ClickHouse® with Java
Connect from Java using the ClickHouse JDBC driver over the HTTPS port.
Connect to Managed ClickHouse® with the JDBC Driver
Build the JDBC connection string for your service and open a connection from any JDBC client.
Connect to Managed ClickHouse® with Node.js
Connect from Node.js with the official client over HTTPS, including the settings that trip people up.
Connect to Managed ClickHouse® with PHP
Connect from PHP with the smi2/phpclickhouse client over HTTPS.
Connect to Managed ClickHouse® with Python
Connect from Python with the native driver or plain HTTPS requests.
Copy Data Between Managed ClickHouse® Services
Copy tables from one service to another with remoteSecure, and use the right port to avoid a failed transfer.
Create Dictionaries in Managed ClickHouse®
Load reference data into memory as a dictionary to speed up lookups and joins.
Enable Tiered Storage in Managed ClickHouse®
Turn on tiered storage on a table so cold data moves to object storage automatically.
Fetch Query Statistics for Managed ClickHouse®
Read execution times, memory use and errors from system.query_log, and keep them beyond the one day retention.
Connect to Managed ClickHouse®
Connect to your Managed ClickHouse® service from the ClickHouse client, Python, Go, Java, JDBC, Node.js, PHP or Grafana.
Manage Your Managed ClickHouse® Service
Inspect, resize, schedule maintenance for, fork and delete your Managed ClickHouse® service.
Manage Local Cache for Remote Files in Managed ClickHouse®'s Tiered Storage
Inspect and drop the local cache that keeps frequently read object storage data close to the compute.
Manage Versions in Managed ClickHouse®
List the available ClickHouse versions and upgrade your service while it stays available, with only short interruptions.
Manage Managed ClickHouse® Databases and Tables
Create, list and drop databases and tables, and learn which engine the service applies.
Manage Managed ClickHouse® Users and Roles
Create users, grant privileges per database and build roles, including the platform roles that already exist.
Create Materialized Views in ClickHouse®
Pre-aggregate data at insert time with a materialized view writing to a destination table.
Query Managed ClickHouse® Databases
Run queries efficiently, and understand concurrency limits and routing on multi-node plans.
Fork and Restore from Managed ClickHouse® Backups
Restore a service by forking it from one of its daily backups.
Run Federated Queries in Managed ClickHouse®
Query object storage, HTTP endpoints and external databases directly in SQL, without moving the data.
Secure a Managed ClickHouse® Service
Restrict who can reach your service with an IP filter, and protect it against accidental deletion.
Use SQL User Defined Functions in Managed ClickHouse®
Define reusable SQL functions to simplify repeated expressions in your queries.
Transfer Data Between Storage Devices in Managed ClickHouse®'s Tiered Storage
Move partitions between block storage and object storage on demand, without waiting for TTL rules.
Enable Reading and Writing Data Across Shards in Managed ClickHouse®
Read and write across all shards of a sharded plan with a distributed table.
Tune the Vector Similarity Index Cache in Managed ClickHouse®
Size the cache that keeps HNSW vector indexes in memory, and spot evictions that slow vector search.
Last updated on