Postgres migrationClickHouse Workshops

02 Plan the cutover — instructor notes

Teaching steps, verification checks, and recovery guidance for module 02.

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

Allow 30 to 45 minutes. Use the learner module for commands.

Guide the runbook exercise

Complete this module while the seed runs. Ask participants to define replication scope, catch-up criteria, cutover order, verification, abort criteria, and rollback limits. Each step needs a command or action, a verification check, and a reversibility assessment.

Use these prompts:

  • Which schema objects hold state outside table data?
  • What does the first target insert do after replication copies all rows?
  • Which slot positions indicate consumer progress?
  • What happens to retained WAL after an abort?
  • Can RDS receive writes made on the target after cutover?

Have participants draft their own runbook before opening the model answer. Review sequence handling before they execute the cutover in module 04.

End checkpoint

Confirm runbook/cutover.md has no TODO entries. It must state expected and maximum downtime, verification checks, slot cleanup, and the rollback limit. Return to module 01 for the baseline once the seed finishes.

On this page

EN