Guide
Databases & data
ETL pipelines explained
What ETL is, how extract-transform-load pipelines work, and when you need one.
Overview
ETL (Extract, Transform, Load) is the process of moving data from source systems into a destination where it can be analysed or used — cleaning and reshaping it along the way.
The three stages
- Extract — read from sources (APIs, databases, files, SaaS exports).
- Transform — clean, deduplicate, join, aggregate and enforce schema.
- Load — write to a warehouse, reporting database or downstream app.
Batch vs streaming
- Batch ETL runs on a schedule (hourly, nightly). Simpler, cheaper, fine for reporting lag measured in hours.
- Streaming / CDC processes changes as they happen. Harder, needed for near-real-time dashboards or operational sync.
Common failure modes
- Schema drift — upstream adds a column or changes a type; pipeline breaks silently or corrupts data.
- Duplicate loads — missing idempotency keys cause double-counting.
- Untested transforms — business logic in SQL/scripts without tests.
- No monitoring — jobs fail overnight; nobody notices until the board deck is wrong.
Design habits
- Log row counts and checksums per run.
- Make loads idempotent (safe to re-run).
- Document the source of truth for each field.
- Start batch; add streaming only when latency requirements demand it.
Related
Last verified: August 2026. Technology and pricing change — always confirm current details with the vendor.