Let’s Get Certified
Module 03 / 12 · Data preparation and ingestion

Match data format, extraction method and serving store

A transport service records fares, application profiles, vehicle telemetry and scanned receipts.

Match data format, extraction method and serving store

A transport service records fares, application profiles, vehicle telemetry and scanned receipts. Each has a different write pattern and retrieval key. Choose how to extract and store each dataset before selecting a tool to load it.

The instructor distinguishes a conventional regional relational workload from a demanding PostgreSQL-compatible workload and a globally distributed relational transaction.

Work through the decision

A team chooses multi-region placement solely because a table is large. What should govern the location choice?

Check your reasoning

Check residency, failure tolerance and the locations of consumers and adjacent services. A regional database near its application and an independently placed recovery copy can serve very different requirements. Verify the actual service’s supported locations and replication semantics.

Associate Data Practitioner recording · 22:42

Decisions and tradeoffs

Cloud SQL
A managed relational engine can support a conventional regional application with SQL transactions and supported database engines.
Spanner
Spanner supports horizontally scaled relational transactions with strong consistency in suitable regional or multi-region configurations.
Bigtable
Use a deliberate row key for very high-throughput, low-latency key or range access on wide-column data.
Firestore
A document database suits application records with evolving fields and known document or indexed query access patterns.
Cloud Storage
An object store handles original binary assets and files addressed by object name, with selectable locations and lifecycle rules.
BigQuery
A serverless analytical warehouse suits large projected scans, joins and aggregations across historical data.
Parquet
Columnar files support projection and efficient analytical reads when the workload selects a subset of columns.
Database Migration Service
Use a supported managed database migration path including continuous changes where supported, with a planned cutover.
BigQuery Data Transfer Service
Supported connectors schedule ingestion into BigQuery. Check connector permissions, availability and transfer history.

Choose between a warehouse and an operational store

A dispatcher asks for vehicle 17’s last five readings. A planner asks for last year’s fleet utilization across 20,000 vehicles. A row key designed for a device and time interval suits the first request. A partitioned BigQuery table with projected columns suits the second. Estimate reads for each query before trying to make one physical layout serve both.

When you place the warehouse dataset and its input bucket, check the supported location pairing. A location label covering several regions does not by itself establish the redundancy or recovery guarantees your business requires.

Practice each guide skill

Work through these exercises in the order of the published guide. The checklist numbers are local references.

  1. Compare CSV typing, JSON nesting, Parquet column projection, Avro record schemas and a live database table for a named workload.
  2. Choose a managed database migration for supported change capture, BigQuery Data Transfer Service for supported connectors, or a pipeline when extraction needs custom processing.
  3. Select a store from the required read and write patterns. Check a point read, a transactional update and a historical analytical scan against the choice.
  4. Compare regional, dual-region, multi-region and zonal options only where the service supports them. Record residency, availability and colocation constraints.
  5. Classify a relational ledger, nested device event and photograph. Choose how each will be stored and discovered.
  6. Use the appropriate loader or API for a batch. For a BigQuery file load, check dataset location, schema, error policy and completed job statistics.

Official objectives for this lesson

Related lesson · Match storage to the query and update pattern

Knowledge check

Match data format, extraction method and serving store quiz

Answer 3 questions. Check each answer for an explanation.