ETL (Extract, Transform, Load)

Starting from version 4.9, iBatyr Monitor has implemented a new data loading mechanism (ETL), which can significantly reduce the load on the processor and disk subsystem, as well as speed up system operation.

Note

Since version 4.9 it works out of the box, that is, it is enabled by default during a new installation. If you updated the system from version 4.8 and lower, the module will be disabled.

What is ETL (Extract, Transform, Load)?

ETL involves migrating data from one application/database to an analytical database. ETL performs three steps to transfer data from database A to database B. These are:

  • Extract

  • Transform

  • Load

Extraction

The retrieval function involves the process of reading data in a database. This stage also includes data collection and extraction. Depending on the type of system, extraction can occur in several different ways. This could involve retrieving the data as a flat file or simply retrieving it from an API. This depends on the risk of interaction with the application system, timing requirements and a number of other technical restrictions.

Conversion

This function is responsible for converting the extracted data into the proper format for analysis and storage. Such a process involves changing the extracted data from its old structure to a more denormalized format. This step depends on the target database. For example, data warehouses have a very specific design pattern that requires changing data and implementing slowly changing dimensions.

Loading

The load function performs the process of writing the converted data into a new application/database. This may take several steps, since each step may increment the data differently. The standard setup is to have raw, staging, and production databases. There are other configurations depending on the needs of the project.

How to enable ETL after upgrade?

First you need to look at system requirements for the new module. The new module consumes less processor, but requires more RAM.

Attention

During migration, many transformations will be performed in the database. In this regard, there is a possibility that the migration may not be successful. Be sure to make a backup. I also recommend calling technical support and discussing the migration issue.

If your server meets the requirements, then run the migration command:

screen -S etl
ibatyr migrate etl

The script will ask about creating a backup. Be sure to do this, otherwise there is a possibility of losing data.

Then the migration process will begin, which may take a long time.

If errors are detected during the migration, the system will write that it is necessary to restore the database.