Move and clean source data under real transfer constraints
A transit operator must move six years of records to Google Cloud, then receive daily updates.
Move and clean source data under real transfer constraints
A transit operator must move six years of records to Google Cloud, then receive daily updates. Estimate transfer time from usable bandwidth, check source access and separate the initial bulk move from the recurring flow.
The recording weighs the size of a 400 TB migration against a busy internet circuit and explains when shipping a Transfer Appliance is appropriate.
Work through the decision
A 90 TB archive has a sustained 100 Mbps path. Even before overhead, can it finish in ten days?
Check your reasoning
Using decimal units, 90 TB is 720 trillion bits. At 100 million bits per second it takes about 83 days. Compare additional usable bandwidth with an offline transfer, then plan the changes made while the initial snapshot is in transit.
Decisions and tradeoffs
- Transfer Appliance
- An offline bulk transfer can fit a large one-time migration when the available network cannot meet the deadline. Account for staging, shipping and import lead time.
- Storage Transfer Service
- Use managed, recurring object transfers between supported sources and destinations with monitoring and appropriate identities.
- ETL before storage
- Transform before loading the analytical destination when policy forbids prohibited raw fields from being present there.
- ELT in BigQuery
- Load permitted source data, then transform it in the analytical engine when SQL and destination compute meet the needs.
- Data quality quarantine
- Retain invalid records, reasons and source identifiers outside the accepted facts so processing can be reconciled and repaired.
- Normalize units before aggregation
- Convert measured values into an agreed unit and retain provenance before comparing or summing them.
- Business-key duplicate checks
- Detect replays with a stable business or event key and specify what makes one revision newer before choosing a survivor.
- End-to-end reconciliation
- Compare source totals and counts with the accepted and rejected outputs at the same grain. Verify checksums for byte-identical copies.
Practice each guide skill
Work through these exercises in the order of the published guide. The checklist numbers are local references.
- Sketch ETL, ELT and a staged ETLT design for a meter feed. Locate the first copy permitted to hold unmasked identifiers.
- Estimate the elapsed time for an online transfer using sustained throughput. Compare managed recurring object transfer with an offline appliance and its logistics.
- Check schema, uniqueness, acceptable ranges, required keys and source-to-target totals; retain exact exceptions.
- Clean a unit mismatch in BigQuery SQL or a suitable ETL engine. Keep the original value and reconcile accepted and rejected rows.
Official objectives for this lesson
Related lesson · Keep bad records from quietly reaching consumers
Move and clean source data under real transfer constraints quiz
Answer 3 questions. Check each answer for an explanation.