What is ETL?
Definition
ETL (extract, transform, load) is a data integration process in which records are retrieved from a source, prepared or cleaned, then written to a destination. The transformation takes place before loading. For example, an import could standardise dates and remove duplicate records before writing reporting tables.
Transformations might also validate identifiers, convert currencies or apply business rules. Their location affects which original records reach the destination and where errors need to be investigated.
Why it matters
Preparing data before it reaches the destination can make a shared dataset easier to use consistently. For example, an import process might standardise date formats, remove duplicate records and map source fields to agreed names. Reports can then work from that prepared structure instead of repeating the same cleanup.
The transformation rules also become a dependency. A changed source field or an incorrect exclusion can affect every downstream report. Keep the rules understandable, check representative outputs and decide how failed or partial runs are handled. It is worth establishing how a historical period would be reprocessed if a rule needs correcting, especially when the original input is not retained indefinitely.
ETL vs ELT
The difference is when and where transformation happens:
- ETL: extract records, transform them in the pipeline, then load the prepared result.
- ELT: extract records, load them into the destination, then transform them there.
For example, ETL might standardise date formats before loading orders into a reporting database. ELT might load the extracted order records first, then build a cleaned reporting table with SQL inside a warehouse. Neither order guarantees quality: validation, access controls and error handling are needed in both.