In brief
ETL and ELT differ in where data is transformed. In ETL, data is cleaned and joined in a separate tool before it is loaded into the warehouse. In ELT, raw data lands in the warehouse or lakehouse first, and the target database itself runs the transformations, usually in SQL. ELT suits modern cloud warehouses with elastic compute. ETL wins when the target has limited capacity or when sensitive data must not be loaded in raw form.
How ETL and ELT differ
Both acronyms describe the same three steps: extract (read from the source), transform (reshape) and load (write to the target). What differs is the order.
- ETL (extract, transform, load). Data from the sources goes to a separate transformation engine, often through staging tables. There it is filtered, joined, deduplicated and validated. The warehouse receives a result that is ready for reporting.
- ELT (extract, load, transform). Data from the sources is loaded almost unchanged into a raw layer in the warehouse or lakehouse. Transformations then run in the same database, usually as successive layers of SQL models.
The Microsoft Azure Architecture Center puts it plainly: ELT differs from ETL solely in where the transformation takes place, and it only works well when the target system is powerful enough to transform data efficiently.
A side-by-side comparison
| Criterion | ETL | ELT |
|---|---|---|
| Where transformations run | separate engine or integration server | target database (warehouse, lakehouse) |
| Raw data in the target | no, only the result | yes, the raw layer stays |
| Scaling | you scale the ETL engine | scales with the warehouse |
| Changing logic | often a new read from the source | recompute from the raw layer |
| Personal data | can be masked before loading | lands in the target and must be protected there |
| Typical tools | SSIS, Informatica, Talend, custom code | SQL in the warehouse, dbt, Spark |
| Best fit | weak target, complex rules, mandatory checks before loading | cloud warehouse, exploratory analytics, frequent model changes |
When to choose ETL
ETL makes sense when:
- the target has limited capacity, for example an older on-premises warehouse that cannot take heavy joins during business hours;
- the rules are complex and do not fit well in SQL, for example fuzzy matching of counterparty names or parsing partner files;
- sensitive data must not be stored raw in the target. A national ID number or a card number can be replaced with a token before loading, so the warehouse never sees the clear value;
- checks are required before loading, for example reconciling control totals with the accounting system before data reaches a regulatory report.
Microsoft lists similar criteria: offloading a constrained target system, complex business rules and audit requirements at the staging stage.
When to choose ELT
ELT makes sense when:
- the warehouse or lakehouse scales on demand, so transformations do not compete with reports for resources;
- you want to keep raw data for analyses you do not know about yet and for recomputing history after a definition changes;
- the data model changes often, and the analytics team knows SQL and works in a repository with code review;
- there are many similar sources, for example dozens of tables from SaaS systems loaded with ready-made connectors.
ELT also has a cost that is easy to forget. In a cloud warehouse you pay for the compute used by transformations, so a badly written model recomputed every hour over the full history can cost more than a separate ETL server. Incremental processing (only new and changed records), partitioning by date and a budget with an alert all help, as we describe in the article on FinOps.
ELT pairs well with Change Data Capture: changes from the source database reach the raw layer almost in real time, and models are recomputed on a schedule. Where to keep these layers is covered in the article on data warehouse, data lake and lakehouse.
Hybrid setups and the reverse direction
In practice most companies combine both approaches. A typical setup:
- Light ETL on the way in: personal data masking, file format checks, rejecting records without a key.
- ELT in the warehouse: a raw layer, a cleaned layer, a business model layer.
- Reverse ETL on the way out: finished data, for example a customer segment or a risk score, goes back to the CRM or a service system.
A banking example: card transaction files pass a format check and card number tokenization on the way in, the warehouse builds turnover and fee models from them, and the computed customer segment goes back to the CRM used by branch advisors.
Streaming is a separate case. When data must be processed in seconds rather than in hourly batches, a stream processor transforms data in motion, for example from Kafka. That kind of processing is covered in the article on Apache Kafka in the enterprise.
Testing a data pipeline
Whichever you choose, the pipeline needs tests, because a transformation bug does not crash an application, it quietly corrupts reports. A minimum set:
- reconcile record counts and control totals between source and target for every load;
- key tests: uniqueness, no nulls, related records exist;
- business rule tests: no negative balance where there cannot be one, dates within an allowed range, statuses from a list;
- idempotency: rerunning the same load does not duplicate data;
- model regression tests: after a SQL change, compare results with the previous version on the same data.
In ELT, tests usually live next to the models in the same repository, which makes code review easier. How to measure data quality over time is covered in the article on data quality. We used tests like these when building a data warehouse for FINREP and COREP reporting.
Questions and answers
Is ELT more modern than ETL?
ELT became popular together with cloud warehouses that separate storage from compute. That does not make ETL obsolete. When the target has limited capacity, the rules are complex or sensitive data must be masked before loading, ETL is still the better choice. Many pipelines combine both approaches.
With ELT, does personal data land in the warehouse unprotected?
It lands raw if you do nothing about it. That is why the raw layer gets separate permissions, encryption and shorter retention, and columns with personal identifiers can be tokenized already in the connector. Design principles for this are covered in the article on privacy by design.
What is dbt and do you need it for ELT?
dbt is an open source tool for building SQL transformation models with dependencies, tests and documentation in a repository. It makes ELT easier but is not required: the same transformations can run as stored procedures or through another orchestration tool. What matters is that the logic is under version control and has tests.
How often should data be loaded into the warehouse?
As often as your fastest consumer needs, and no more. A morning management report only needs a daily load. Sales monitoring at peak may need data every few minutes, and fraud detection needs stream processing. More frequent loads raise cost and the number of places where something can fail.