ETL vs ELT: Understanding Modern Data Architectures
Understand extraction, transformation, and loading in modern data systems. Compare ETL and ELT through transformation placement, replayability, governance, and cost.
A team migrates its nightly pipeline to a cloud warehouse and calls the result ELT. The extraction script still cleans every row before loading, while business calculations run again in SQL afterward. The label changed, but nobody agreed on where each transformation belongs.

ETL and ELT describe the placement of transformation relative to loading into the target analytical system. ETL extracts, transforms, then loads. ELT extracts, loads, then transforms using the target platform. Neither acronym describes the whole operating model.
Start with the Three Responsibilities
Extraction captures data from a source under a defined contract: a database snapshot, change stream, API cursor, or file delivery. Loading writes that data into the next durable location. Transformation changes representation or meaning: type normalization, deduplication, joins, business rules, and analytical aggregates.
A reliable extraction contract names the source position, covered interval, schema version, and completion status. Without those details, a downstream table can be syntactically valid while containing only half a source batch.
ETL: Transform Before the Analytical Target
# Architecture pseudocode; helpers are application-specific.
batch = extract_orders(source_cursor)
validated = validate_and_quarantine(batch)
curated = calculate_order_facts(validated)
load_target(curated, batch_id=batch.id)This placement can keep restricted fields out of the analytical target and centralize a carefully controlled representation before loading. The trade-off is that changed business rules may require replaying retained upstream data or re-extracting from the source. Define retention intentionally rather than assuming the source will remain available forever.
ELT: Load Before Business Transformation
-- PostgreSQL illustration: raw extraction is already complete.
create or replace view analytics.order_totals as
select
order_id,
sum(quantity * unit_price) as gross_amount
from raw.order_lines
group by order_id;The SQL is a deliberately small illustration, not a universal revenue definition. Taxes, returns, currency conversion, and rounding rules need explicit models. ELT makes those warehouse transformations easy to version and rebuild when the retained source data supports the required history.
Loading data first increases the importance of access controls, retention, lineage, and deletion propagation in the landing area. A raw table is still a governed product asset. Restrict it to the people and services that need it, and publish curated contracts for wider consumption.
Choose from the Constraints
Ask where the compute belongs, which fields may enter the target, how often business rules change, and how expensive replay will be. Consider warehouse scans, upstream processing, storage, data movement, and operational effort together. A pipeline with cheap ingestion can still be costly to rebuild every hour.
A hybrid is often deliberate: tokenize or redact selected fields before loading, retain approved source-shaped data, then build business models inside the warehouse. That design is clearer when each stage has an owner and a documented contract instead of trying to make the acronym describe every step.
Make Failures and Replays Part of the Design
Track extraction completeness separately from transformation success. Publish downstream models only when their source batch is complete and their quality checks pass. Keep transformation versions and source batch identifiers so a corrected result can be traced back to its inputs.
Test a retried extraction, a schema change, a partial file delivery, and a full rebuild. The useful decision is not which acronym sounds modern; it is which processing boundary makes this workload understandable, replayable, and economical.
Related: Data Pipeline Idempotency
Related: Orchestrating ETL with Airflow and Transforming with dbt