Home / Companies / ClickHouse / Blog / Post Details
Content Deep Dive

Introducing Postgres Query Insights in ClickHouse Cloud

Blog post from ClickHouse

Post Details
Company
Date Published
Author
What you get #
Word Count
1,641
Language
English
Hacker News Points
-
Summary

Query Insights is a diagnostic tool in preview for ClickHouse Cloud Managed Postgres that helps identify and address slow query patterns by providing detailed telemetry data for every query executed on a database. It utilizes the open-source extension pg_stat_ch to stream per-statement telemetry into ClickHouse, allowing users to access an overview of database health, identify slow query patterns, and analyze specific execution details to determine causes of latency, such as disk spills during sorting or insufficient parallel workers. The tool is designed to integrate with existing systems by using ClickHouse Cloud for data storage and query, ensuring efficient handling of large volumes of telemetry data while maintaining the privacy of sensitive information. Future developments for Query Insights include an open API, wait event attributions, EXPLAIN plan exposures for slower queries, and actionable recommendations to further enhance the user experience. The tool aims to streamline performance troubleshooting by offering clear insights into database operations and actionable steps for optimization.