Documentation Index
Fetch the complete documentation index at: https://private-7c7dfe99-page-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Querying ClickHouse’s system database
All ClickHouse instances come with a set of system tables contained in thesystem database that contain information about:
- Server states, processes, and environment.
- Server’s internal processes.
- Options used when the ClickHouse binary was built.
Using the ClickHouse Cloud Console
The ClickHouse Cloud console comes with a SQL console and dashboarding tools that can be used for querying system tables. For example, the query below reviews how many (and how often) new parts are created during the last two hours:Built-in advanced observability dashboard
ClickHouse comes with a built-in advanced observability dashboard feature which can be accessed by$HOST:$PORT/dashboard (requires user and password) that shows Cloud Overview metrics contained in system.dashboards.
This dashboard requires direct authentication to the ClickHouse instance and is separate from the Cloud Console Advanced Dashboard, which is accessible through the Cloud Console UI without additional authentication.
Querying across nodes and versions
To comprehensively view the entire cluster, users can leverage theclusterAllReplicas function in combination with the merge function. The clusterAllReplicas function allows querying system tables across all replicas within the “default” cluster, consolidating node-specific data into a unified result. When combined with the merge function, this can be used to target all system data for a specific table in a cluster.
For example, to find the top 5 longest-running queries across all replicas in the last hour:
System considerations
For real-time production monitoring with operational separation, consider using the Prometheus-compatible metrics endpoint or the Cloud Console dashboards, both of which use pre-scraped metrics and do not issue queries to the underlying service.Related pages
- System tables reference — Full reference for all available system tables
- Cloud Console monitoring — Zero-setup dashboards that don’t impact service performance
- Prometheus endpoint — Export metrics to external monitoring tools
- Advanced dashboard — Detailed reference for dashboard visualizations