pg_clickhouse version 0.10 has been released, focusing on improving subquery pushdown capabilities for analytical workloads. The update increases the number of TPC-H benchmark queries that can be fully pushed down to ClickHouse from 12 to 16 out of 22 total queries.
This advancement means that more complex queries are now processed directly by ClickHouse, reducing the need for PostgreSQL to fetch and evaluate data locally. The remaining six queries (Q13, Q15, Q16, Q18, Q20, Q21) are targeted for future pushdown improvements, with specific issues related to how PostgreSQL flattens subqueries into anti/semi-joins.
The improved pushdown has led to significant performance increases for certain queries. For example, TPC-H Q17, a correlated subquery, now executes in 37 milliseconds when fully pushed down, compared to 32.7 seconds previously. This represents a 1000x speed improvement.
This particular query previously required pg_clickhouse to fetch every row from ClickHouse individually for local subquery evaluation, highlighting the efficiency gains from full pushdown.
Beyond subquery pushdown, version 0.10 includes other technical updates. The binary driver has been rebuilt on a new plain-C client library. The surface area of functions and aggregates that support pushdown has more than doubled. Additionally, the binary driver has been hardened against several concurrency bugs.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
pg_clickhouse released version 0.10, increasing the number of fully pushed-down TPC-H queries from 12 to 16 and improving performance for specific queries by up to 1000x. This update enhances the integration between PostgreSQL and ClickHouse for analytical workloads by reducing local processing and increasing the range of functions and aggregates that can be pushed down.