Does your application need local data or faster Postgres?
Before adding a sync engine or local data copy to speed up an application, check whether the real bottleneck is network-attached storage under managed Postgres. Sync layers stream logical-replication changes for a declared subset into a local store. They speed up reads but leave a separate write path and an optimistic-state reconciliation problem. They also fit poorly with AI agents, whose working sets are unpredictable and rarely shared. The argument favours NVMe-backed central Postgres with read replicas and database-level HA replication (claimed ~4x RDS Multi-AZ throughput), with analytics offloaded to ClickHouse via WAL-based replication and pg_clickhouse. Local sync stays the right choice for offline use or predictable shared working sets.
Related posts
- Postgres on NVMe: performance and the convergence of transactions and analytics
ClickHouse mediumAdept
Running Postgres on local NVMe instead of gp3 EBS gave 9.2× more throughput (16,030 vs 1,734 TPS) and UPDATE latency of 4.0 ms vs 36.9 ms in a pgbench benchmark with a 482 GiB dataset about 30× larger than RAM. Profiling showed EBS backends spending 89% of wall time blocked on I/O. VACUUM ran 2.6× faster on NVMe, while logical decoding gained only 1.7× because it is single-threaded. To offset NVMe's ephemerality, durability moves into Postgres via quorum synchronous replication across AZs plus continuous WAL archival to S3 with WAL-G. Analytics still needs a columnar engine, so the recommended pattern is CDC (PeerDB, or the new WalShadow) into ClickHouse, queried through the pg_clickhouse extension.
- PostgresBench: Measuring the impact of High Availability on Managed Postgres performance
ClickHouse mediumAdept
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. On a 16 vCPU/64 GB instance with a 500 GB dataset, ClickHouse's NVMe-backed service dropped to 94% of single-node TPS with one async standby and 79% with two synchronous quorum standbys, with p99 latency rising 1.8x and 2.5x. RDS throughput was roughly flat, but its p99 rose to 1.7x with one sync standby and 6.3x (817 ms) with a two-standby quorum cluster. The vendor-run results claim 2-4x throughput advantages for ClickHouse over the other services at matched compute and comparable durability.
- Postgres at Open House NYC
ClickHouse easyNovice
ClickHouse used its Open House NYC keynote to launch WalShadow, an open-source engine that replicates Postgres into ClickHouse from the physical WAL instead of logical replication. It decodes WAL outside the source and uses a schema-only shadow Postgres to track DDL, effectively making ClickHouse an analytical physical standby. On 8-vCPU instances it showed about 200 ms commit-to-visible latency and 300K rows/s, versus about 10 s and 120K rows/s for PeerDB. The keynote also opened a Google Cloud private preview of ClickHouse Managed Postgres and released a chdb Postgres extension that extends COPY to import from S3, GCS and Azure and outperformed DuckDB-based extensions on the NYC Taxi import benchmark.
- PostgresBench: A Reproducible Benchmark for Postgres Services
ClickHouse mediumAdept
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. In the first cohort, ClickHouse's NVMe-backed managed Postgres reached about 28.7K TPS on 16 vCPU/64 GB at 100 GB, versus 14.8K for Crunchy Bridge, 12.6K for Aurora, 8.6K for Neon and 8.1K for RDS, and held about 26K TPS at 500 GB. ClickHouse attributes the lead to co-located local NVMe storage, which avoids network round trips on every fsync and WAL commit in write-heavy workloads. Scripts and raw JSON results are on GitHub for verification and community submissions, though the vendor-run setup and absence of pricing comparisons are worth weighing.
- How Physical Intelligence unified its robotics data stack with Postgres managed by ClickHouse
ClickHouse mediumAdept
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). A single RDS Postgres instance full of JSONB columns could not handle both workloads, so the team moved to Postgres managed by ClickHouse, using ClickPipes to replicate operational data into ClickHouse for analytics. On the ClickHouse side, ReplacingMergeTree handles insert-heavy annotation writes, JSONB fields were flattened into sparse columnar tables, and materialized views cut query latency and database load. They also isolate read and write compute and put PgBouncer in front of batch jobs.