Creating a Job for tracking data changes in MySQL using SCD - 6.5

SCD

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Business Intelligence components > SCD components
Data Quality and Preparation > Third-party systems > Business Intelligence components > SCD components
Design and Development > Third-party systems > Business Intelligence components > SCD components
EnrichPlatform
Talend Studio

Create a Job to open a connection to a MySQL database, insert the employee data into a MySQL database table using SCD (Slowly Changing Dimensions)

This Job retrieves and displays the inserted data on the console, then updates the employee data in MySQL using SCD, retrieves and displays the updated data on the console, finally closes the connection to the MySQL database.

Procedure

  1. Create a new Job and add a tMysqlConnection component, two tFixedFlowInput components, two tMysqlSCD components, two tMysqlInput components, two tLogRow components, and a tMysqlClose component by typing their names in the design workspace or dropping them from the Palette.
  2. Link the first tFixedFlowInput component to the first tMysqlSCD component using a Row > Main connection.
  3. Do the same to link the first tMysqlInput component to the first tLogRow component, the second tFixedFlowInput component to the second tMysqlSCD component, and the second tMysqlInput component to the second tLogRow component.
  4. Link the tMysqlConnection component to the first tFixedFlowInput component using a Trigger > OnSubjobOk connection.
  5. Do the same to link the first tFixedFlowInput component to the first tMysqlInput component, the first tMysqlInput component to the second tFixedFlowInput component, the second tFixedFlowInput component to the second tMysqlInput component, and the second tMysqlInput component to the tMysqlClose component.