Hi Guys,
I've created a job that extracts data from several tables in an Oracle DB and loads it in another Oracle DB.
Table definition source/target is 1:1.
Job contains:
- one transformation with an 'Add constant rows' step to set table names to load data from and into and a 'Coy rows to result step'
- one job that executes for every input row and has:
- one 'Set variabes' step to set current table name
- one generic transformation to extract and load data that contains:
- one table input step with SELECT * from ${current_table} executed on source connection
- one table output step with Target table set as ${current_table} executed on destination connection
The question is if there is way to ensure that if data loading fails for one of the tables, changes for all tables will be rolled back?
From my testing, the 'Make database transactional' transformation option would helphere only if input/output steps for all (around 30) tables would be in the same transaction.
OR maybe there is another job design more adequate for this case?
Thanks in advance.
Larisa.
I've created a job that extracts data from several tables in an Oracle DB and loads it in another Oracle DB.
Table definition source/target is 1:1.
Job contains:
- one transformation with an 'Add constant rows' step to set table names to load data from and into and a 'Coy rows to result step'
- one job that executes for every input row and has:
- one 'Set variabes' step to set current table name
- one generic transformation to extract and load data that contains:
- one table input step with SELECT * from ${current_table} executed on source connection
- one table output step with Target table set as ${current_table} executed on destination connection
The question is if there is way to ensure that if data loading fails for one of the tables, changes for all tables will be rolled back?
From my testing, the 'Make database transactional' transformation option would helphere only if input/output steps for all (around 30) tables would be in the same transaction.
OR maybe there is another job design more adequate for this case?
Thanks in advance.
Larisa.