Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

PostgreSQL Remove topic PostgreSQL Clear all 85 posts RSS

November 2026

ClickHouse

How Infinitas Learning uses ClickHouse Managed Postgres to process billions of events for 1.6M unique learners

Case study 9 min +90 XP

Infinitas Learning runs transactional learner-result processing on Postgres, with PL/pgSQL functions serving as the API in place of an earlier Kafka/Flink event-sourced pipeline, and customer-facing analytics on ClickHouse.

ClickHouse

Fencing a Postgres primary that might still be alive

Case study 10 min +100 XP

Before promoting a standby, a managed Postgres control plane must fence the old primary, because promotion and DNS changes alone don't stop writes: async standbys, per-session synchronous_commit overrides, quorum commit with a remaining standby, and canceled commits already in WAL can all let a still-alive primary accept writes.

October 2026

September 2026

ClickHouse

Memory safety for Postgres extensions in C/C++

Case study 4 min +40 XP

Postgres's palloc/MemoryContext allocation and setjmp/longjmp-based error handling clash with C++ new/delete, destructors and exceptions: longjmp skips destructors (undefined behavior), exceptions bypass PG_CATCH, and an uncaught exception aborts the process and forces cluster-wide crash recovery.

ClickHouse

Postgres week in the Netherlands: PGDay Lowlands & Percona Live 2026

Article 7 min +70 XP

Notes from PGDay Lowlands in Utrecht and Percona Live in Amsterdam, covering two ClickHouse-maintained Postgres extensions and several PostgreSQL 19 features. pg_clickhouse is a foreign data wrapper that lets unmodified Postgres queries and ORMs run against ClickHouse via pushdown, with 15 of 22 TPC-H queries fully pushed down. pg_stat_ch streams per-query execution events through a shared-memory ring buffer to ClickHouse without back-pressure.

ClickHouse

Introducing chdb Postgres extension: High-performance imports from cloud storage

Announcement 7 min +70 XP

chdb is a new Postgres extension that uses the in-process ClickHouse engine chDB to import and export data in dozens of formats (CSV, JSON, Parquet, Avro, Arrow, ORC, Protobuf and more) from S3, GCS, Azure, HDFS, HTTP and local files, via a chdb_query() function and a chdb_hook module that extends COPY and CREATE TABLE.

August 2026

ClickHouse

New system views in PostgreSQL 19

Deep dive 12 min +120 XP

PostgreSQL 19 (in beta) adds four system views, and three of them get hands-on demos. pg_stat_lock gives cumulative per-locktype wait counts, wait time and fastpath_exceeded counters, though waits only count once they pass deadlock_timeout. pg_stat_recovery returns standby replay state as one atomic, consistent snapshot. pg_stat_autovacuum_scores shows the new score-based autovacuum prioritization, tunable through five weight parameters.

ClickHouse

A universal interface: How QuintoAndar made ClickHouse plug-and-play with managed Postgres

Case study 6 min +60 XP

QuintoAndar's customer data platform replaced a Lambda architecture (a Postgres hot layer plus Kafka Connect into a Delta landing zone processed by 24/7 Databricks jobs with costly MERGE INTO deduplication) by having its event gateway write about 900 million monthly events directly into ClickHouse Cloud, which also serves roughly 300 million API requests a month with sub-second reads.

ClickHouse

How Physical Intelligence unified its robotics data stack with Postgres managed by ClickHouse

Case study 16 min +160 XP

Physical Intelligence, a robotics foundation-model lab, split its data into raw petabyte-scale training data, transactional data needing ACID guarantees (under 100M rows), and high-cardinality metadata and annotations (10 to 100 billion rows).

July 2026

ClickHouse

PostgresBench: Measuring the impact of High Availability on Managed Postgres performance

Research 7 min +70 XP

PostgresBench now measures the performance cost of high-availability configurations across managed Postgres services, comparing shared-nothing designs (ClickHouse Managed Postgres, RDS, Crunchy Bridge) that use streaming standbys with shared-storage forks (Aurora, Neon) that replicate WAL to a storage layer.

June 2026

May 2026

ClickHouse

Introducing Postgres Query Insights in ClickHouse Cloud

Announcement 7 min +70 XP

Postgres Query Insights, now in preview for ClickHouse Cloud Managed Postgres, ranks every normalized query pattern by impact and aggregates per-execution counters (CPU, cache vs disk reads, temp spills, unlaunched parallel workers, WAL) to explain why a pattern is slow.

April 2026

ClickHouse

PostgresBench: A Reproducible Benchmark for Postgres Services

Research 9 min +90 XP

PostgresBench is an open, reproducible benchmark for managed Postgres services built on pgbench's TPC-B-like workload (256 clients, 16 threads, 10-minute runs, three runs each) at ~100 GB and ~500 GB scale factors, with default configs, HA disabled and all services in us-east-2.

March 2026

ClickHouse

How Socialpruf built a faster, more reliable data stack by replacing Neon with Postgres managed by ClickHouse

Case study 7 min +70 XP

Socialpruf, a social analytics platform ingesting hundreds of posts per second, moved customer-facing dashboard queries from Postgres to ClickHouse via CDC, cutting multi-second load times to millisecond aggregations.

February 2026

ClickHouse

pg_stat_ch: a PostgreSQL extension that exports every metric to ClickHouse

Deep dive 16 min +160 XP

pg_stat_ch is an open-source (Apache 2.0) PostgreSQL 16–18 extension that captures every statement execution, including failed queries and DDL, as a fixed-size ~4.6KB event with 45 fields and streams it to ClickHouse for APM-style analysis.

January 2026

ClickHouse

PostgreSQL + ClickHouse as the Open Source unified data stack

Announcement 5 min +50 XP

An open source stack pairs PostgreSQL as the transactional system of record with ClickHouse for analytics, connected by PeerDB for change data capture and the pg_clickhouse extension, which transparently offloads analytical queries from Postgres to ClickHouse.

ClickHouse

“Just OLAP it”: How Ramp rebuilt its analytics platform on ClickHouse Cloud

Case study 5 min +50 XP

Ramp moved customer-facing spend analytics off its Postgres monolith after enterprise customers' reports on a single card-transactions table began taking 40+ seconds, and now serves them in milliseconds from ClickHouse Cloud.

December 2025

November 2025

October 2025

September 2025

ClickHouse

How SewerAI is using ClickHouse to modernize sewer management at scale

Case study 7 min +70 XP

SewerAI replicates its Postgres transactional data into ClickHouse via CDC (moving from Confluent/Debezium to self-hosted Debezium+Kinesis to PeerDB, and now ClickPipes) and uses materialized and refreshable materialized views to denormalize 40+ tables into a single hundreds-of-billions-row "Megatable" for real-time municipal analytics.

August 2025

July 2025

May 2025

ClickHouse

How Seemplicity scaled real-time security analytics with Postgres CDC and ClickHouse

Case study 6 min +60 XP

Seemplicity, a security remediation platform aggregating findings from 150+ tools, outgrew a Postgres-only design as heavy upserts, table bloat and multi-table joins across ~16 per-tenant tables slowed customer dashboards.

March 2025

ClickHouse

Longbridge Technology simplifies their architecture and achieves 10x performance boost with ClickHouse

Case study 8 min +80 XP

Longbridge, a Singapore online brokerage, replaced a fragmented market-data stack of PostgreSQL (historical), Redis (real-time) and DynamoDB (high-write) with ClickHouse after evaluating it against TimescaleDB and TDengine for write throughput, Decimal support, time functions and aggregations.

August 2024

May 2024

April 2024

July 2023

June 2023

ClickHouse

Change Data Capture (CDC) with PostgreSQL and ClickHouse - Part 2

How-to 22 min +220 XP

A Postgres-to-ClickHouse CDC pipeline is built with Debezium, Kafka Connect and a ClickHouse materialized view, keeping a ReplacingMergeTree table in sync with the 28M-row UK property price dataset under a mix of inserts, updates and deletes.

ClickHouse

Change Data Capture (CDC) with PostgreSQL and ClickHouse - Part 1

Deep dive 23 min +230 XP

Postgres-to-ClickHouse CDC can be built by streaming row changes from Postgres logical decoding (pgoutput plugin, replication slots, LSN ordering) through Debezium and Kafka, then applying them in ClickHouse with the ReplacingMergeTree engine.

May 2023

January 2023

December 2022

The quest for software engineering knowledge.

Look:
Layout: