logoalt Hacker News

Pg_ClickHouse: A Postgres extension for querying ClickHouse

104 pointsby spathaklast Wednesday at 5:14 PM35 commentsview on HN

Comments

tempest_yesterday at 9:43 PM

This is nice because there are a lot of clickhouse fdw implementations and none of them are well maintained from what I can tell.

show 1 reply
graovicyesterday at 8:47 PM

This is pretty good. It will allow us to use PostgREST as an API endpoint to query the ClickHouse database directly

show 4 replies
N_Lenstoday at 2:30 AM

At this stage it may be possible to build one's entire application stack inside of postgres extensions.

oulipo2yesterday at 10:11 PM

I'm using Postgres as my base business database, and thinking now about linking it to either DuckDb/DuckLake or Clickhouse...

what would you recommend and why?

I understand part of the interest of pg_clickhouse is to be able to use "pre-existing Postgres queries" on an analytical database without having to change anything, so if I am building my database now and have no legacy, would pg_clickhouse make sense, or should I do analytics differently?

Also, would you have some kind of tutorial / sample setup of a typical business application in Postgres and kind of replication in clickhouse to make analytics queries? so I can see how Clickhouse would be typically used?

show 3 replies
onedognightyesterday at 9:28 PM

The name of the project is a reference to P. G. Wodehouse[0] for those unaware.

[0] https://www.gutenberg.org/ebooks/author/783

show 3 replies