tDB2SCD
Addresses Slowly Changing Dimension needs, reading regularly a source of data and
logging the changes into a dedicated SCD table
tDB2SCD reflects and tracks
changes in a dedicated DB2 SCD table.
tDB2SCD Standard properties
These properties are used to configure tDB2SCD running in the Standard Job framework.
The Standard
tDB2SCD component belongs to the Business Intelligence and the Databases families.
The component in this framework is available in all Talend
products.
connector. The properties related to database settings vary depending on your database
type selection. For more information about dynamic database connectors, see Dynamic database components.
Basic settings
Database |
Select a type of database from the list and click |
Use an existing connection |
Select this check box and in the Component List click the relevant connection component to Note: When a Job contains the parent Job and the child Job, if you
need to share an existing connection between the two levels, for example, to share the connection created by the parent Job with the child Job, you have to:
For an example about how to share a database connection |
Property type |
Either Built-in or |
 |
Built-in: No property data stored |
 |
Repository: Select the Repository file |
Host |
Database server IP address. |
Port |
Listening port number of DB server. |
Database |
Name of the database. |
Table Schema |
Name of the DB schema. |
Username and Password |
DB user authentication data. To enter the password, click the […] button next to the |
Table |
Name of the table to be written. Note that only one table can |
Schema and Edit schema |
A schema is a row description. It defines the number of fields Click Edit
|
 |
Built-in: The schema is created and |
 |
Repository: The schema already exists |
SCD Editor |
The SCD editor helps to build and configure the data flow for For more information, see SCD management methodology. |
Use memory saving Mode |
Select this check box to maximize system performance. |
Die on error |
This check box is cleared by default, meaning to skip the row |
Advanced settings
Additional JDBC parameters |
Specify additional connection properties for the DB connection you Note:
You can set the encoding parameters through this field. |
End date time details |
Specify the time value of the SCD end date time setting in the This field appears only when SCD Type 2 is used and |
Debug mode |
Select this check box to display each step during processing |
tStatCatcher Statistics |
Select this check box to collect log data at the component |
Global Variables
Global Variables |
NB_LINE_UPDATED: the number of rows updated. This is an
NB_LINE_INSERTED: the number of rows inserted. This is an
NB_LINE_REJECTED: the number of rows rejected. This is an
ERROR_MESSAGE: the error message generated by the A Flow variable functions during the execution of a component while an After variable To fill up a field or expression with a variable, press Ctrl + For further information about variables, see |
Usage
Usage rule |
This component is used as Output component. It requires an |
Dynamic settings |
Click the [+] button to add a row in the table The Dynamic settings table is For examples on using dynamic parameters, see Reading data from databases through context-based dynamic connections and Reading data from different MySQL databases using dynamically loaded connection parameters. For more information on Dynamic |
Limitation |
This component does not support using SCD type 0 together with other |
Related scenarios
For related topics, see tMysqlSCD.