Running the 2nd pipeline and ignoring the 1st one

More
3 years 7 months ago #22157 by Tafadzwa
Hi, so i have 2 pipelines. One picks information from Dev environment then posts to staging. The other one gets information from staging to the live environment. Please advice how i can have have those 2 pipelines as shown in the picture and how i can select to run the 2nd one ignoring the first one because i am trying to run the 2nd one but the 1st reader is the one fetching information
Attachments:

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago #22158 by admin
Please create two separate transformations

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago #22159 by Tafadzwa
But my database has 3 environments which are Dev, Staging and Production. What you are saying is if Dev has 15 tables i will need 15 to push to Dev then 15 new ones for staging then another 15 to push into the production environment. That is a total of 45 transformations i will have to create. To me that does not make sense instead of having more that one transformations but with the ability to comment the one you do not need and uncomment when you need it.

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago #22160 by admin
There are multiple ways of dealing with multiple environments.

Our corporate clients use multiple servers and multiple repositories

DEV dev-sever connected to dev-repository loading data into dev-database
UAT uat-server connected to uat-repository loading data into uat-database
PROD prod-sever connected to prod-repository loading data into prod-database

They do all development in DEV env then they copy transformations/ packages from to UAT and from UAT to PROD

Or you can use global variables and package variables to load data into different environments
The global variables point to dev env
for example, you have 3 SQL servers
SQL-DEV
SQL-UAT
SQL-PROD
Create a global variable called SERVER_NAME and set it to SQL-DEV
create 4 packages
1 LOAD DATA
2 LOAD DATA into SQL-DEV
3 LOAD DATA into SQL-UAT
4 LOAD DATA into SQL-PROD

The first step of package 2 set the SERVER_NAME variable to SQL-DEV
The first step of package 3 set the SERVER_NAME variable to SQL-UAT
The first step of package 4 set the SERVER_NAME variable to SQL-PROD
The second step of all packages calls package LOAD DATA

This gives you a flexible way of loading data into multiple env.
Please read the following wiki articles
Global variables
/wiki/advanced-etl-processor/getting-started/options/
Package variables
www.etl-tools.com/wiki/advanced-etl-proc.../packages/variables/
Set variable action
/wiki/advanced-etl-processor/packages/actions/set-variable-action/

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Google
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Google Analytics
Accept
Decline
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.
Advertisement
If you accept, the ads on the page will be adapted to your preferences.
Google Ad
Accept
Decline
Save