More capacity for transactions
PostgresBench reports higher transaction throughput for ClickHouse Managed Postgres at the same vCPU and memory allocation. Use the results below to evaluate the opportunity.
Migrate transactions and route analytics to ClickHouse.
Migrate a live e-commerce workload from AWS RDS Postgres to ClickHouse Managed Postgres. Stream an analytical copy with ClickPipes, route existing dashboard SQL through pg_clickhouse, inspect pushdown, and measure the result.
Increase transactional capacity and give analytical queries their own engine. This workshop shows you how to migrate, verify, and measure both workloads.
PostgresBench reports higher transaction throughput for ClickHouse Managed Postgres at the same vCPU and memory allocation. Use the results below to evaluate the opportunity.
Move the writer to Managed Postgres with the same role names and passwords. Route existing dashboard SQL through pg_clickhouse, then tune queries where needed.
Stream an analytical copy into ClickHouse with ClickPipes. Run dashboard queries there while the application writes to local Postgres tables, and measure throughput under concurrent load.
PostgresBench
Published PostgresBench results compare the pgbench TPC-B-like workload on AWS RDS and ClickHouse Managed Postgres.
3.6×
About 100 GB · compared with AWS RDS
5.2×
About 500 GB · compared with AWS RDS
81%
About 500 GB · compared with AWS RDS
| Dataset | AWS RDS transactions/s | Managed Postgres transactions/s | AWS RDS average latency | Managed Postgres average latency |
|---|---|---|---|---|
| About 100 GB | 8,066 | 28,668 | 31.71 ms | 8.91 ms |
| About 500 GB | 5,078 | 26,328 | 50.45 ms | 9.70 ms |
These tests use matching vCPU and memory allocations, with different primary storage. They measure transactional performance, not dashboard query speed. Results vary by workload; measure your migration in the workshop.
What you will do
Prepare accounts, tools, credentials, and Terraform variables before provisioning.
Provision RDS, seed the shop database, and measure writer throughput with and without analytical load.
Write a cutover runbook with replication scope, verification, sequence handling, abort criteria, and rollback limits.
Replicate RDS data into Managed Postgres, verify grants and lag, and test pause and recovery.
Stop writes, verify catch-up, reset sequences, move connections, reconcile data, and remove the migration pipe.
Copy Managed Postgres data into ClickHouse with CDC and choose engines and ordering keys.
Route analytical queries through pg_clickhouse, inspect pushdown, optimize queries, and measure the combined migration result.
Check your understanding with fourteen questions, then delete the workshop resources.