SpinTheMic
Pro

Interview practice question

Near real-time replication from Postgres

Data Engineering · BigQuery · Experienced

The business wants a Postgres production database replicated into BigQuery with under five minutes of latency, including deletes. Design it.

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Datastream with logical replication from Postgres.
  • BigQuery destination with native CDC upserts and deletes.
  • Set max staleness to balance freshness and cost.
  • Monitor replication lag and slot usage on Postgres.
  • Handle schema changes and backfills.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics