ETL, ELT and the Modern Data Stack

How data moves from source systems into a warehouse, why ELT replaced ETL, and the layers analysts build on.

Intermediate · about 3 hours · difficulty 2/5

Learn first: Cloud Data Warehouses

Before anyone can analyse data it has to be copied out of apps, databases and SaaS tools into one place. Understanding that journey helps you debug missing or late numbers.

ETL vs ELT

  • ETL (extract, transform, load): data is cleaned on a separate server before loading. Common when warehouses were expensive.
  • ELT (extract, load, transform): raw data is loaded first, then transformed with SQL inside the warehouse. Cheap cloud storage and compute made this the default.

The typical modern stack

  1. Sources: production databases, Stripe, Salesforce, ad platforms, event trackers.
  2. Ingestion: managed connectors (Fivetran, Airbyte, Stitch) or custom scripts copy data on a schedule.
  3. Warehouse: BigQuery, Snowflake, Redshift, Databricks or PostgreSQL.
  4. Transformation: SQL models, usually in dbt, turn raw tables into clean ones.
  5. Consumption: BI tools, notebooks, reverse ETL back into business tools.

Layered models

  • Staging: one model per source table, renamed and typed, no business logic.
  • Intermediate: joins and reusable logic.
  • Marts: final fact and dimension tables organised by business area (finance, marketing), what analysts and dashboards query.

Batch vs incremental

Full reloads are simple but slow on big tables. Incremental loads process only new or changed rows, using an updated-at timestamp or change data capture.

Pitfall: building dashboards directly on raw source tables whose structure changes without warning. You are ready to move on when you can draw your company's (or a hypothetical) data flow from source to dashboard and name each layer.

Key concepts

  • ETL vs ELT
  • Ingestion tools (Fivetran, Airbyte)
  • Staging, intermediate and mart layers
  • Batch vs incremental loads
  • Change data capture
  • Reverse ETL

Mini project

Draw the data flow for an ecommerce company with Shopify, Stripe and Google Ads data: ingestion, warehouse, staging, marts and three dashboards that consume them.

Check yourself

Why did ELT become more popular than ETL once cloud warehouses arrived?

Free resources