4 ms·
What I did in my case was setup stream replication to send over the Postgres WAL to another service that would update a ClickHouse cluster. Essentially, every t
by financltravsty 3y ago
What I did in my case was setup stream replication to send over the Postgres WAL to another service that would update a ClickHouse cluster. Essentially, every time the WAL file is closed, a batch of all the SQL commands that were committed are sent over the wire.
It might be easier to find some "change data capture" product that will do that for you though (like Airbyte). I can't give any recommendations here, however.
- tw1ser 3y agoI can recommend a fellow Y member PeerDB [0] for this but I don't know if they support ClickHouse as a destination [0] - https://www.peerdb.io/ https://www.peerdb.io/