What is ETL and ELT?

ETL (extract, transform, load) cleans and reshapes data before loading it into a warehouse. ELT (extract, load, transform) loads raw data first and transforms it inside the warehouse with SQL.

Also called ETL, ELT, extract transform load, extract load transform, ETL pipeline, ELT pipelineUpdated

Every report that combines data from more than one system needs a pipeline. It copies data out of the source apps, makes it consistent and puts it somewhere analysts can query. ETL and ELT are the two ways to order those steps.

Full forms

  • ETL: extract, transform, load. Pull data from sources, transform it on a separate processing server, then load the finished tables into the warehouse.
  • ELT: extract, load, transform. Pull data from sources, load it raw into the warehouse, then transform it there with SQL.

The letters are the same. What changes is where the transformation runs.

ETL vs ELT: the difference

ETL ELT
Where transforms run A separate engine (Informatica, SSIS, Spark, custom code) Inside the warehouse or lakehouse
What lands in the warehouse Only cleaned, modelled data Raw data plus modelled tables
Changing a transform Re-extract from source Re-run SQL over raw data already loaded
Typical tools Informatica, Talend, SSIS, Spark jobs Fivetran or Airbyte to load, dbt to transform
Best for Sensitive data that must be filtered first, limited warehouse compute Cloud warehouses with cheap storage and elastic compute

ETL was the norm when warehouse storage and compute were expensive. Cloud warehouses such as Snowflake, BigQuery and Databricks separate storage from compute, so loading raw data and transforming it later became cheaper. That made ELT the default for most new analytics stacks. Keeping the raw data also means you can fix a bug in a transform and rebuild history without going back to the source.

Example: a D2C brand's daily revenue

A brand sells on its own Shopify store and takes payments through a gateway. An ELT pipeline looks like this:

  1. Extract and load. A connector copies Shopify orders and gateway settlements into raw tables every hour.
  2. Transform. A dbt model joins them and works out net revenue:
-- models/fct_daily_revenue.sql
select
  date(o.created_at)                  as order_date,
  sum(o.total_paise)                  as gross_paise,
  sum(coalesce(r.refund_paise, 0))    as refunds_paise,
  sum(o.total_paise - coalesce(r.refund_paise, 0)) as net_paise
from {{ ref('stg_orders') }} o
left join {{ ref('stg_refunds') }} r using (order_id)
where o.status != 'cancelled'
group by 1
  1. Test. dbt checks that order_id is unique and that totals reconcile with settlements.

When finance redefines "net revenue" to exclude shipping, the team edits this one model and rebuilds two years of history from the raw tables in minutes.

When ETL still makes sense

  • Personal data you shouldn't land raw. Under the DPDP Act, every copy of personal data needs a purpose and a retention rule. Masking or dropping fields such as phone numbers before they reach the warehouse can be simpler than governing raw copies.
  • Heavy non-SQL processing, such as parsing PDFs, images or sensor streams, which fits Spark or Python better.
  • On-premises warehouses with fixed capacity.

Many real pipelines mix both: light ETL at ingestion for privacy and parsing, then ELT for business logic. For fresher data than hourly batches, change data capture can replace the extract step.

Common mistakes

  • Business logic spread across the connector, the warehouse and the BI tool, so nobody knows where "revenue" is defined. Put it in one modelling layer, ideally a semantic layer.
  • No tests on transforms, so broken numbers reach dashboards first.
  • Keeping raw personal data forever because "storage is cheap".

For retention and erasure inside pipelines, see DPDP data retention and erasure engineering.

Any idea in mind? Let's make it real.

Tell us what you're building. You'll hear back from an engineer, not a sales team, usually within one working day.

Book a 30-min call