ELT vs ETL
ETL (extract, transform, load) cleans and reshapes data in a separate tool before loading it into the warehouse. ELT (extract, load, transform) loads the raw data first and transforms it inside the warehouse or query engine, usually with SQL.
The difference is where the transform runs
Both patterns extract data from a source system, such as an application database or a SaaS API, and end with tables ready for analysis. In ETL, a dedicated server or tool (Informatica, SSIS, a Spark or Python job) transforms the rows in flight, and only the finished result lands in the warehouse. In ELT, the raw data lands first and the warehouse does the transformation, typically as SQL models managed by dbt.
| ETL | ELT | |
|---|---|---|
| Transform runs in | A separate engine, before loading | The warehouse or query engine, after loading |
| Language | Tool-specific: Python, Java, or a GUI | Mostly SQL |
| Raw data kept | Often not | Yes, in a raw or bronze layer |
| Changing a rule | Re-extract from the source | Re-run SQL over the raw copy |
| Sensitive data | Can be masked before it ever lands | Lands raw, then masked; the raw layer needs tight access control |
| Fits | Scarce warehouse compute, strict rules on data at rest | Columnar warehouses and lakehouses with cheap storage |
Why ELT became the default
ETL made sense when warehouse compute was scarce and storage was expensive, so you loaded only clean, aggregated data. Columnar warehouses and object storage reversed both costs. Keeping raw data is cheap, and the warehouse is usually the fastest place to join and aggregate it. The raw copy also means a bug in a transformation is fixed by re-running SQL, not by re-extracting months of history. Medallion architecture is a common way to lay out those raw and cleaned layers.
An ELT example in DuckDB
A sales file arrives with mixed date formats, lowercase currency codes and a European-formatted amount. ELT loads it untouched, then fixes it in SQL.
-- E + L: load the raw file unchanged, every column as text
CREATE TABLE raw_sales AS
SELECT * FROM read_csv('sales_raw.csv', all_varchar = true);
-- T: transform inside the engine, with SQL, after loading
CREATE VIEW sales AS
SELECT coalesce(TRY_CAST(sold_on AS DATE),
TRY_STRPTIME(sold_on, '%m/%d/%Y')::DATE) AS sold_on,
upper(currency) AS currency,
CASE WHEN amount LIKE '%,%'
THEN replace(replace(amount, '.', ''), ',', '.')
ELSE amount END::DECIMAL(12,2) AS amount
FROM raw_sales;
FROM sales;The raw rows ('2026-11-20', 'EUR', '1.250,00'), ('2026-11-20', 'usd', '980.10') and ('11/21/2026', 'USD', '15') come out as typed rows: 1250.00 EUR, 980.10 USD and 15.00 USD, all with proper dates. If a new date format shows up next month, you edit the view; raw_sales still holds the original text.
When ETL is still the right call
- Data that must not land unmasked, such as card numbers or health records, is safer hashed or dropped before it reaches shared storage.
- Very large, noisy sources, like raw logs, are often cheaper to filter before loading than to store in full.
- Some transformations are not SQL-shaped: parsing binary formats, calling external APIs, or running ML models.
Most teams end up with a mix: light ETL at the edge for privacy and volume, ELT for the business logic. A third option is not to copy at all and query the source where it lives; see zero-ETL.
In Thunderduck
Thunderduck is built for ELT, and often for skipping the load. A catalog connects PostgreSQL, MySQL, BigQuery, ClickHouse or files in object storage, and queries read the data where it lives. When you want your own copy, CREATE TABLE ... AS SELECT or INSERT INTO ... SELECT loads it into an Iceberg catalog, and the transformations run as SQL: a scheduled job for a single statement, or a dbt pipeline from your Git repository for several dependent steps with tests.
Incremental loads filter the source on constants or current_date arithmetic, which is pushed down into the source, so each run reads only the new rows. There is no change-data-capture stream yet; copies are kept current on a schedule.
Docs: https://docs.thunderduck.ai/data/loading/