The term ETL stands for an important part of data transformation. The core task of an ETL process is to collect data, usually in large volumes, from a database or storage system, to validate and adjust the information, and then to move it into a new database. The data may also be distributed across different enterprise software systems. The end result is a filtered, harmonized, and centrally stored dataset. It can then be stored centrally or visualized for a temporary analysis.

Data Transformation Step by Step

The process of data transformation is divided into several logical steps so that the individual processes are strictly separated from one another. This primarily serves data security. In addition, further functions can be established in each individual step. The following steps describe a data transformation in simplified form.

1. Extracting or Collecting the Data

In a first step, the existing data is collected from databases or other data sources. The available information can already be filtered and adjusted in this step. This is the case, for example, when there are problems with date, number, or currency formats. It is also possible here to use only part of the available data and to narrow it down. Another important aspect of extraction is the exact detection and elimination of duplicates.

2. Transformation

In the next step, the data that has been provided and, ideally, fully cleansed is converted into the target format. Several processes may come into play here. Functionally defined API interfaces, data schemas, well-structured business types as business objects, a content check, and a mapping where required prepare the data for the desired target format. In this second process step, data enrichment may also play a major role in upgrading the legacy datasets accordingly.

3. Load

The final storing of the transformed data in a new data source, such as an SQL database or a data warehouse, is called loading. In line with the transformation rules or data schemas, the information can be stored in a normalized and structured form. In this last transformation process, too, the source information remains untouched.

Particularly with big data or other kinds of mass data, steps 2 and 3 of an ETL process can also be swapped. In this case, it makes more sense to first consolidate the data, which is usually distributed, as part of a business logic with data schemas and to store it in a staging database. Only then are the actual transformations executed on the central dataset created in this way and the result moved into a target database.

Example of an ETL Process

A small example demonstrates how an ETL process works. We start from the common problem that identical products are stored with different article numbers in different branches of a company. If, for example, a central backup or a business analysis of the company data across all branches is to be created, the datasets must first be adjusted and consolidated. The following table illustrates the record structures.

BranchArticle numberArticle descriptionPrice
Headquarters Kiel (D)B-2510-A1Washer M8 A2 stainless steel€0.14 per piece
Nuremberg branch (D)B-1200-A1Washer M8 A2 stainless steel€0.14 per piece
Bern branch (CH)16-B2510-A1Washer M8 A2 stainless steelCHF 1.58 per pack of 10

If these datasets are to be captured and analyzed centrally, some adjustments between the different databases have to be made beforehand. First, a business rule for the article numbers is needed. They are to be captured centrally under a uniform identifier. Starting from the article number used at headquarters, all other branch data must be adjusted accordingly.

Second, the quantities and prices must be harmonized. Most branches list prices per piece, while the Swiss branch lists pack prices for ten pieces each. The different currencies must also be aligned. During the data integration process, these adjustments are executed automatically with a data mapping and a standardization, then checked and stored in a new central SQL database. The resulting dataset now looks as follows.

BranchArticle numberArticle descriptionPrice
Headquarters Kiel (D)B-2510-A1Washer M8 A2 stainless steel€0.14 per piece
Nuremberg branch (D)B-2510-A1Washer M8 A2 stainless steel€0.14 per piece
Bern branch (CH)B-2510-A1Washer M8 A2 stainless steel€0.14 per piece

Conclusion

An ETL process makes it possible to read, cleanse, harmonize, and transform even highly distributed and heterogeneous data structures and to store them together in a central database. Larger companies and groups, especially those operating internationally, often use different procurement systems. To give headquarters a group-wide overview or to steer purchasing effectively, large volumes of data frequently have to be consolidated and merged into a uniform data basis.

Together with our customers, we develop integration concepts for large and distributed data systems. If you are planning a data integration, contact us.

Share LinkedIn X Email