TECHNOLOGIESTieInn Technologies

ETL vs ELT

Data Warehousing · 11 questions

Short notes

Key idea

ETL transforms data before loading it into the warehouse. ELT loads raw data first and transforms it inside the warehouse with SQL. Cheap cloud storage and compute made ELT the modern default.

Syntax

  • ETL: Extract → Transform (in a separate engine: Python, Spark, an ETL tool) → Load clean data.
  • ELT: Extract → Load raw → Transform with SQL in the warehouse (often with dbt).
  • Tools: extraction/loading (Fivetran, Airbyte, custom Python), transformation (dbt, SQL, Dataform), orchestration (Airflow).

Example

ELT on Google Cloud: a Python job copies yesterday's orders from PostgreSQL into a BigQuery raw table; scheduled SQL builds staging and mart tables. A bug in the logic? Fix the SQL and rebuild from raw: nothing has to be re-extracted.

Traps

  • ETL still makes sense for masking personal data before it lands, or heavy processing SQL can't do well.
  • ELT can get expensive if transformations rescan huge tables every run; use incremental models.
  • Loading raw doesn't mean "no checks"; test after every layer.
  • Transformation logic scattered across many tools is hard to debug.

Want the full lesson with step-by-step examples, a project and a certificate? Data Warehousing course, ₹120 →

Questions

5 free questions
5 questions

    ETL vs ELT

  1. Question 1easy

    In ELT, where does the transformation happen?

  2. ETL vs ELT

  3. Question 2medium

    Why did ELT become popular with cloud warehouses like BigQuery?

  4. ETL vs ELT

  5. Question 3medium

    Regulations say Aadhaar numbers must never be stored unmasked in the warehouse. Which approach fits?

  6. ETL vs ELT

  7. Question 4easy

    In a typical modern ELT stack, what does dbt do?

  8. ETL vs ELT

  9. Question 5easy

    What's the best way to extract orders from the app's database every night?

6 more questions on this topic, with hints, and tests

Sign up free for 21 days of every question and test.