The accounting system knows a customer by contract number, the CRM by email address, the website by session identifier. ETL collects data from these different systems, brings it to a common form and puts it into a single store — usually overnight on a schedule, and in modern setups as a continuous stream.
Three stages
| Stage | What happens | Example operations |
|---|---|---|
| Extract | raw data is copied from the source systems into a temporary area — the staging area | transactional databases, CRM, export files, external service APIs |
| Transform | the data is cleansed and brought to the warehouse schema according to business rules | removing duplicates, filling in gaps, uniform date and unit formats, masking of personal data |
| Load | the finished data is moved from the staging area to the target warehouse | initial load, periodic additions, full refreshes |
A full load transfers everything in one go and is usually run once, on the first execution. After that, incremental load is used more often: the pipeline remembers the marker of the last extraction and picks up only new and changed records — by modification date or from the source’s change log.
Example: a retail chain
Every night, several thousand receipts arrive from each of 1,200 tills. The pipeline merges the extracts, converts the amounts into a single currency, removes the duplicates left over from a till failure and, as a result, puts sales facts and store reference data into the warehouse. By morning, reports and dashboards show yesterday’s data.
ETL and ELT
ELT has the same three stages, but in a different order: the data is loaded into the warehouse first, and the transformation is done by the warehouse itself. This is convenient when the target system is powerful and scales — for example, a cloud warehouse or a data lake: the raw data is kept, and heavy transformations do not burden a separate server before the load. Classic ETL is chosen when the target system is weak, the transformation rules are complex, or the data has to pass checks and audit before loading.
Where it is used
- feeding data warehouses and data marts for reporting and business intelligence
- migrating data between systems, including a move to the cloud
- preparing data for machine learning: collection, cleansing, feature calculation
The approach took shape in the 1970s, together with relational databases, when data from different systems first had to be brought together in one place for computation and analysis. Today, pipelines are assembled from ready-made tools or written in Spark, SQL and Python, and their reliability is tested in the same way as any other code.
Sources
the term is written from these pages- AWS — What is ETL (Extract, Transform, Load)?aws.amazon.com/what-is/etl/(opens in a new tab)
- IBM — What is ETL (extract, transform, load)?ibm.com/think/topics/etl(opens in a new tab)
- Microsoft Learn — Extract, transform, and load (ETL)learn.microsoft.com/en-us/azure/architecture/data-guide/relational-data/etl(opens in a new tab)
Verified 9 Nov