Step 1: Start Your Databases

Before setting up the sync pipeline, you need both the source database (PostgreSQL) and the target database (ClickHouse) running.

Checklist

Verification Commands

Open a terminal and verify both databases are running:

# Verify PostgreSQL is running
docker ps | grep rb-northwind-postgres
# Verify ClickHouse is running
curl "http://localhost:8123/?query=SELECT+version()"

PostgreSQL should show a running container. ClickHouse should respond with its version number (e.g., 24.3.1.2672).

Note: PostgreSQL needs WAL configuration for CDC — we'll set that up in the next step when configuring the sync pipeline.

Expected State

After completing this step:

PostgreSQL — running with sample Northwind data loaded
ClickHouse — running, empty (no tables yet)
Sync Connector — not started yet (next step)