# tPostgresqlCDC Standard properties

These properties are used to configure tPostgresqlCDC running in the Standard Job framework.

The Standard tPostgresqlCDC component belongs to the Databases family.

The component in this framework is available in all Talend products.

Information noteNote: This component is a specific version of a dynamic database 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](https://help.qlik.com/talend/r/en-US/7.3/components/db-generic/dynamic-database-components).

## Basic settings

| Database | Select a type of database from the list and click<br>Apply. |
| --- | --- |
| Property type | Either Built-in or<br>Repository |
|  | Built-in: No property data stored<br>centrally. |
|  | Repository: Select the repository<br>file in which the properties are stored. The fields that follow are<br>completed automatically using the data retrieved.<br><br>Information noteWarning:<br><br><br>*Reset the DB type by clicking the relevant button to<br>select the CDC connection.* |
| Use an existing connection | Select this check box and in the Component<br>List drop-down list, select the desired connection component to<br>reuse the connection details you already defined.<br><br>Information noteNote: When a Job contains the parent Job and the child Job, if you<br>need to share an existing connection between the two levels, for example, to share the<br>connection created by the parent Job with the child Job, you have to:<br><br><ol> <li> <p>In the parent level, register the database connection            to be shared in the <span>Basic              settings</span> view of the connection component which creates that very database            connection.</p> </li> <li> <p>In the child level, use a dedicated connection            component to read that registered database connection.</p> </li> </ol><br><br>For an example about how to share a database connection<br>across Job levels, see *Talend Studio<br>User Guide*. |
| DB Version | List of database versions. |
| Host | Database server IP address. |
| Port | DB server listening port number. |
| Database | Name of the database. |
| Schema | Name of the schema. |
| Username and<br>Password | DB user authentication data.<br><br>To enter the password, click the [...] button next to the<br>password field, and then in the pop-up dialog box enter the password between double quotes<br>and click OK to save the settings. |
| Schema using CDC and Edit<br>Schema | A schema is a row description, it defines the number of fields to<br>be processed and passed on to the next component. The schema is<br>either Built-in or stored remotely<br>in the Repository<br><br>Click Edit<br>schema to make changes to the schema. If the current schema is of the Repository type, three options are available:<br><br><ul> <li> <p> <span>View schema</span>: choose this                option to view the schema only.</p> </li> <li> <p> <span>Change to built-in property</span>:                choose this option to change the schema to <span>Built-in</span> for local changes.</p> </li> <li> <p> <span>Update repository connection</span>:                choose this option to change the schema stored in the repository and decide whether                to propagate the changes to all the Jobs upon completion. If you just want to                propagate the changes to the current Job, you can select <span>No</span> upon completion and choose this schema metadata                again in the <span>Repository Content</span>                window.</p> </li> </ul> |
|  | Built-In: You create and store the schema locally for this component<br>only. |
|  | Repository: You have already created the schema and stored it in the<br>Repository. You can reuse it in various projects and Job designs.<br><br>Information noteWarning:<br><br><br>*Reset the DB type by clicking the relevant button to<br>select the schema of the CDC connection.* |
| Table | Select the source table from which any changes made to data are to<br>be captured. |
| Subscriber | Enter the name of the application that will use the change<br>table. |
| Events to catch | Insert: Select this check box to<br>catch the data inserted in the change table since the last<br>extracion.<br><br><br>Update: Select this check box to<br>catch the data updated in the change table since the last<br>extracion.<br><br><br>Delete: Select this check box to<br>catch the data deleted in the change table since the last<br>extracion. |

## Advanced settings

| Additional JDBC Parameters | Specify additional JDBC parameters for the<br>database connection created.<br><br>This property is not available when the Use an existing connection<br>check box in the Basic settings view is selected. |
| --- | --- |
| Keep data in CDC Table | Select this check box to keep the changes made available to one or<br>more target systems, even after they have been consulted. |
| Use cursor | Select this check box to specify the number of rows you want to<br>work with at at any given time. This option optimises<br>performance. |
| Trim all the String/Char columns | Select this check box to delete any spaces found at the beginning<br>or end of fields, in all of the columns containing character<br>strings. |
| Trim column | Remove leading and trailing whitespace from defined<br>columns.<br><br>Information noteNote:<br><br>Clear Trim all the String/Char<br>columns to enable Trim columns in this<br>field. |
| tStatCatcher Statistics | Select this check box to collect the log data at component<br>level. |
| Enable parallel execution | Select this check box to perform high-speed data processing, by treating<br>multiple data flows simultaneously. Note that this feature depends on the database or<br>the application ability to handle multiple inserts in parallel as well as the number of<br>CPU affected. In the Number of parallel executions<br>field, either:<br><br><ul> <li>Enter the number of parallel executions desired.</li> <li>Press <span>Ctrl + Space</span> and select the					appropriate context variable from the list. For further information, see <em> <span>Talend Studio</span> User Guide</em>. </li> </ul><br><br>Note that when parallel execution is enabled, it is not possible to use global<br>variables to retrieve return values in a subJob.<br><br><ul> <li>The <span>Action on							table</span> field is not available with the							parallelization function. Therefore, you must use a <span>tCreateTable</span> component if you							want to create a table. 					          </li> <li>When parallel execution is enabled, it is not							possible to use global variables to retrieve return values in a							subJob.					          </li> </ul> |

## Global Variables

| Global Variables | NB\_LINE: the number<br>of rows read by an input component or transferred to an output component. This is an<br>After variable and it returns an integer.<br><br>To fill up a field or expression with a<br>variable, press Ctrl + Space to<br>access the variable list and choose the variable to use from it.<br><br>For further information about variables, see *Talend Studio*<br>*User Guide*.<br><br>A Flow variable functions during the execution of a component<br>while an After variable functions after the execution of the component. |
| --- | --- |

## Usage

| **Usage rule** | This component is used as a start component. It requires an output<br>component and a row Main link. |
| --- | --- |