Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I am new to Talend, and need help to design a migration job.
Is there any way to create a job which lets me migrate a whole schema, not only a table?
I have about 5000 tables within 10 schemas to migrate, and I want to avoid creating 5000 jobs one by one.
The immigration requirement is simple, let’s say I have a schema named “A” in the source DB, and and I want exactly the same schema “A” (including all tables and their data) in the target DB.
Environment:
I would really appreciate if anyone can help me!
Hi
You need Dynamic schema functionality which is only available in Talend subscription products, you can read a scenario in this page.
The job design looks like:
main job:
tForEach--iterate--tRunJob
iterate each schema from a list and pass the current schema name to child job.
child job:
tOracleConnection1-oncomponentok-tOracleConnection2
|onsubjobok
tOracleTableList--iterate--tOracleInput--main--tOracleOutput--oncomponentok--tOracleCommit
|onsubjobok
tOracleClose1--oncomponentok--tOracleClose2
Regards
Shong
Dear Shong,
@Shicong Hong
Thanks a lot for the help!
If you don't mind, I would like to know about settings of this part: tOracleTableList--iterate--tOracleInput--main--tOracleOutput
Sorry for asking many questions, but I would really appreciate if you could lent me your hand.
Best Regards
@Miyo Takahashi ,
Regards
Shong
Dear Shong,
@Shicong Hong
Thanks a lot for the help!
I was able to migrate the table. thank you.
I want to migrate SYNONYM as well, but I can't do it this way.
Is there a way to migrate SYNONYM in a similar fashion as tables?