Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello
Do you know which SQL Sever version is needed to work with Talend CDC?
All version should be supported, if you have any problem, please report a bug and it is necessary for us to fix it.
Best regards
Shong
Hi shong,
could you pls tell me how CDC(change data capture) works in talend?
Hello,
1) How it works :
Change Data Capture (CDC) is based on Publisher/Subscriber principle. The publisher captures the change data and makes it available to the subscribers. The subscribers can use the change data obtained from the publisher only once. To be able to use a given number of times the same change data, you should use as many differents subscribers. The informations about source tables from which the change data needs to be captured and the subscribers who can access to the change data are stored in a TSUBSCRIBER table. The TCDC_source_table contains the id of each change data. The triggers TCDC_TG_source_table_I, TCDC_TG_source_table_U and TCDC_TG_source_table_D are created to capture each Insert, Update and Delete on source_table. Each change row capture by the triggers is inserted into TCDC_source_table with the flag TALEND_CDC_STATE='0'. Before consuming the row, this flag is set to TALEND_CDC_STATE='1' and a view TCDC_VIEW_source_table is create or replace to fetch rows from source table and only rows with TALEND_CDC_STATE='1'. This allows you to lock the lines to consum and to delete it after consuming where SUBSCRIBER = the subscriber you have to consum the change data.
2) do you support Oracle in particular and may be a DB2 as a source?
CDC is available in Java for Oracle, MySQL, DB2, PostgreSQL, Sybase, and MS SQL Server databases.
3) Is it a log-based, meaning read transaction logs or have a trigger based mechanism
CDC have a trigger based mechanism
Thanks,
Hello
Do you know which SQL Sever version is needed to work with Talend CDC?
All version should be supported, if you have any problem, please report a bug and it is necessary for us to fix it.
Best regards
Shong