ClickHouse 的 pg_clickhouse v0.10 将 TPC-H Q17 的运行时间缩短了 884 倍

该扩展将 PostgreSQL 保留为 SQL 接口,同时将符合条件的分析子查询移至 ClickHouse 执行。

By · Published

Primary source: ClickHouse

为何重要

ClickHouse 正在使用 pg_clickhouse,使其分析引擎在不进行全面 PostgreSQL 迁移的情况下可被采用。884x 的 Q17 结果展示了当下推奏效时的回报,而剩余的查询差距则定义了工程风险。

Optimized analytical query execution via database extension (Flat modernist vector illustration in the spirit of mid-century corporate annual reports, with bold simple shapes and textured overprint)

ClickHouse engineer Josh Ventura released pg_clickhouse v0.10.0 on August 11th, pushing more PostgreSQL subqueries into ClickHouse and cutting one vendor-tested TPC-H query from 32.7 seconds to 37 milliseconds.…

When you purchase through links in our articles, we may earn a small commission. This doesn’t affect our editorial independence.

Reader comments

Conversation for this story loads after sign-in.