ChatDiagram
data engineering · ETL · BigQuery

Nightly PostgreSQL to BigQuery sales ETL

This data pipeline flowchart documents a nightly sales ETL run from PostgreSQL to BigQuery. Changed order records land first in Cloud Storage, where the batch is checked against its expected schema before any warehouse write occurs. Invalid files move to quarantine and notify the data engineer.

Type OrganigrammeNorme Sugiyama layered DAG + orthogonal routingMoteur schematex-flowchartMis à jour 22/09/2026
PostgreSQL to BigQuery ETL
Drawing preview
La demande

“Create a daily data pipeline flowchart that extracts changed PostgreSQL orders to Cloud Storage, checks the schema, quarantines failures, deduplicates records, validates revenue and row counts, loads BigQuery, runs a MERGE and dbt marts, then publishes sales dashboard data.”

Essayez ensuiteAdd a backfill branch for a selected date rangeChange BigQuery to Snowflake
Ce que contient ce dessin

Comprenez les décisions qui le sous-tendent.

01Incremental extraction

Only orders changed since the previous run are exported.

02Schema contract

Unexpected columns or types are isolated before they contaminate analytics.

03Business reconciliation

Row counts and revenue totals must agree before publishing.

04Idempotent load

MERGE updates the order fact table without creating duplicates.

Use this for a daily transactional-to-warehouse ETL job with a cloud object-store landing zone. It suits reporting pipelines where a failed batch is safer than partial dashboard data.

Voir tous les modèles de organigramme →

FAQ

Questions fréquentes

Why land files before loading BigQuery?

A raw landing zone preserves the extract for replay, inspection, and controlled backfills.

Why use MERGE for orders?

Orders can change after creation, so MERGE applies inserts and updates without duplicate order rows.

What should the revenue check compare?

Compare a source aggregate for the extract window with the staged aggregate before publication.