Data Engineering:Extract, Transform,and Load Using Talend Open Studio.
Tags: dataengineering, etl, python, talend
Published: 2021-10-29 16:17:51


## Introduction To ETL Tools.
Hi there, welcome back to the data engineering series. I know most of you ask how do we do these so-called ETL Or ELT processes as a Data Engineer?

I've got you now, don't worry.

Today we will be going through the process of Extracting, Transforming, and Loading Data step by step from SQL server to Postgres. There are several ETL tools including, Talend, Pentaho, Informatica, Stitch, Xplenty, Alooma, Panapoly, Aws Glue, etc. I will introduce one ETL tool called Talend.
Introduction toTalend OpenStudio

It is important to use low code ETL tools. In this article, we will show how to install and get started with Talend. We will use Talend later to Migrate Data from MSSQL Server to Postgres.
To get started we download Talend Open Studio for Linux [here](https://www.talend.com/lp/open-studio-for-data-integration/). Note that you can also download for any Operating System in the same link.
After downloading you will receive multiple files, run the Linux file which has a .sh file. This is how it looks!
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k8qus9ybm2li20n2dvfi.png)

Launch Talend now. This is how it should open:
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lemt5sb52e9lsbwtsgg9.png)

It's now time to get our hands dirty.
## Migrating Data from SQL Server to Postgres Using Talend ETL
At the Talend Studio, we create a job design(on your left-hand side)then create tBDInput for SQL Server and tBDOutput for Postgres. These inputs and outputs DBs will be used during connections and migration. At this point, you can create a connection between the two databases.
Right Click on tBDInput Trigger the On subjob OK and drag it to tBDOutput to make the connection complete.
Ensure to enter correctly the database credentials i.e username, password and database name,table name , which hosts the table and database to migrate.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vsycwev67b0sbwskbvvy.png)


also
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q34qdzqyv5xr2vu11cyy.png)
This shows the SQL server credentials to enter.After all the configuring and connecting both databases, it's time now to start moving our data from SQL server to Postgres. We write an SQL query to migrate the data. To start with we start with SQL server by using the following command which gets data from the users table:
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hsick615tmlpzdbtn1mn.png)

This is used for migration and logging using the get_date function.
Now we now have to write an SQL query to insert data into Postgres.In the UI we create a table and drop it if it exists then perform the action of insertion to custdatademo table as shown;
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9s66h56kpiibsc02kr5h.png)
For Postgres configuration on Talend.It's now time for us to run the job and migrate our data from MSSQL to Postgres.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3npjnw53fqd0to1f43qb.png)
Our job runs successfully!.
Now it's time where we have been waiting for so long and it's time to see our output in Postgres. Let's dive in fast and confirm our hard work.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hmyzdoamuf57uox9avq3.png)
The data has been MIgrated Successfully using Talend as you can see in PostgresAs you can see we have migrated the data successfully.Thank you for being with us on this long journey.
This is a complete Extract, Transform, and Load(ETL) using Talend.
Happy learning guys!
Article Written by :
[WanjohiChristopher](https://www.linkedin.com/in/wanjohichristopher/) 

[NicholasMusau]
(https://www.linkedin.com/in/nicholas-musau-69657186/)
Respects:[Neville Omwenga](https://www.linkedin.com/in/omwenganeville/)