Component family |
Databases/DB2 |
|
Function |
tDB2BulkExec executes the Insert |
|
Purpose |
As a dedicated component, tDB2BulkExec allows gains in performance during |
|
Basic settings |
Property type |
Either Built-in or Since version 5.6, both the Built-In mode and the Repository mode are |
|
|
Built-in: No property data stored |
|
|
Repository: Select the repository |
|
Use an existing connection |
Select this check box and in the Component List click the NoteWhen a Job contains the parent Job and the child Job, if you need to share an existing
For an example about how to share a database connection across Job levels, see |
|
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 |
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 be |
|
Action on table |
On the table defined, you can perform one of the following
None: No operation is carried
Drop and create table: The table is
Create table: The table does not
Create table if not exists: The
Drop table if exists and create:
Clear table: The table content is |
|
Schema and Edit |
A schema is a row description. It defines the number of fields to be processed and passed on Since version 5.6, both the Built-In mode and the Repository mode are |
|
|
Built-in: You create the schema |
|
|
Repository: You have already |
Click Edit schema to make changes to the schema. If the
|
||
|
Data file |
Name of the file to be loaded. WarningThis file is located on the machine specified by the URI in |
|
Action on data |
On the data of the table defined, you can perform:
Insert: Add new entries to the
Update: Make changes to existing Insert or update: Insert a new record. If the record with Update or insert: Update the record with the given
Delete: Remove entries |
Advanced settings |
Additional JDBC parameters |
Specify additional connection properties for the DB connection you NoteYou can set the encoding parameters through this field. |
Field terminated by |
Character, string or regular expression to separate fields. |
|
|
Date Format |
Use this field to define the way months and days are |
|
Time Format |
Use this field to define the way hours, minutes and seconds are |
|
Timestamp Format |
Use this field to define the way date and time are ordered. |
|
Remove load pending |
When the box is ticked, tables blocked in “pending” status |
|
Load options |
Click + to add data loading
Parameter: select a loading
Value: enter a value for the |
|
tStat |
Select this check box to collect log data at the component |
Dynamic settings |
Click the [+] button to add a row in the table and fill The Dynamic settings table is available only when the For more information on Dynamic settings and context |
|
Global Variables |
NB_LINE: the number of rows processed. This is an After
NB_LINE_UPDATED: the number of rows updated. This is an
NB_LINE_INSERTED: the number of rows inserted. This is an
NB_LINE_DELETED: the number of rows deleted. This is an
QUERY: the SQL query statement processed. This is an After 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 Talend Studio |
|
Usage |
This dedicated component offers performance and flexibility of DB2 |
|
Log4j |
The activity of this component can be logged using the log4j feature. For more information on this feature, see Talend Studio User For more information on the log4j logging levels, see the Apache documentation at http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Level.html. |
|
Limitation |
This component requires installation of its related jar files. For more information about the |
For tDB2BulkExec related topics, see: