Postgres MigrationClickHouse Workshops

Learner track

The complete hands-on migration from AWS RDS Postgres to ClickHouse Managed Postgres and ClickHouse.

Your computer
macOS terminal: Run workshop commands in Terminal using zsh or bash.

Work through the modules in order. The RDS instance created in module 00 must keep running, and the writer must keep committing orders, until the final measurement is done.

The arc

Two legs with two different jobs, in this order and no other. A ClickPipe with a Managed Postgres destination moves the transactional workload off RDS and completes, cutover included, before anything else starts; a second ClickPipe then streams the analytical copy from Managed Postgres into ClickHouse; and pg_clickhouse routes the dashboard's existing SQL to it. One replication leg is live at a time, so every failure has exactly one possible cause.

The number the workshop leads with is not dashboard latency. It is writer throughput during the dashboard load, before and after — because one database serving both workloads does not fail by making dashboards slow, it fails by letting dashboards steal throughput from checkout.

Working directory

Commands in each module begin inside the workshop's artifact directory:

workshops/postgres_migration/

Keep credentials only in the ignored files created from .example templates. Never commit your filled-in environment file or Terraform variables.

Di halaman ini

Track your progress?

Optional. We email a link to confirm your address; progress records once you open it.

Please use your work email address, not a personal one.

Progress tracking also requires accepting the current Terms of Service in Privacy settings.

ID