Skip to content
tezvyn:

ETL: The Assembly Line for Your Data

Source: Wikipedia: Extract, transform, loadEasyHow cards are made

ETL: The Assembly Line for Your Data

ETL (Extract, Transform, Load) is an assembly line for data, moving it from various sources into a single destination for analysis. It's used to populate data warehouses by combining data from databases, logs, and APIs into a unified view.

Why it exists

Data is often siloed in different applications, each with its own format. To get a complete picture for business analysis, you need to gather this disparate data, make it consistent, and store it in one place. ETL provides a structured, repeatable process for this consolidation.

The mental model

Think of ETL as a factory's supply chain and assembly line for data. You extract raw materials (data) from various suppliers (databases, APIs, log files). Then, you transform them on an assembly line by cleaning, standardizing formats, and combining fields. Finally, you load the finished goods (clean, structured data) into a warehouse for analysts to use.

How it works

The process has three distinct phases. First, Extract: The system connects to source systems like transactional databases or CRMs and pulls the raw data. Second, Transform: This is often the most complex stage. The raw data is cleaned, validated, and reshaped. This might involve changing date formats, converting currencies, splitting columns, or joining data from multiple sources. Third, Load: The transformed, clean data is written into a target system, most commonly a data warehouse where it's optimized for querying.

When to use it

Use ETL for batch data processing where you need to integrate data from multiple systems into a central repository for reporting and analytics. It's the classic approach for building and maintaining a data warehouse for business intelligence, especially when transformations are complex and data needs significant cleansing before use.

When not to use it

ETL is not ideal for real-time needs where low latency is critical; stream processing frameworks are better suited for that. For simple, one-time data migrations, a custom script is often simpler than a full ETL pipeline. An alternative, ELT (Extract, Load, Transform), is often preferred with modern cloud data warehouses that can handle transformations efficiently in place.

One canonical example

A retail company runs a nightly ETL job. It extracts sales records from hundreds of store point-of-sale systems and user activity from its website. The transform step converts all timestamps to UTC and standardizes product SKUs. Finally, it loads this enriched data into a central data warehouse, ready for the marketing team to analyze customer behavior the next morning.

Interview question

What is the primary objective of implementing an ETL process in an organization?

  • a.To facilitate real-time data synchronization across distributed applications.
  • b.To bypass the need for a data warehouse by querying operational databases directly.
  • c.To integrate, clean, and structure data from diverse sources into a central repository for analysis.Correct
  • d.To execute simple, one-off data transfers between two compatible systems.
Why?

The card emphasizes that ETL's core purpose is to consolidate and prepare data from various sources into a unified view for business analysis and reporting, typically in a data warehouse. Option C directly reflects this. Option A is incorrect because the card explicitly states ETL is not ideal for real-time needs, which require different processing frameworks.

Just read this? Test yourself on what you have been reading.

Read the original → en.wikipedia.org

You just looked this up. Could you explain it out loud?

That is the part interviews actually test. Tezvyn takes questions like this one and gives you what the interviewer is really checking, the answer that lands, and the mistake that ends the conversation, in the four minutes before your next meeting.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon

We are hiring for this. Open roles that interview on etl — each one lists the topics its interview covers.

See open roles