tSybaseBulkExec
Gains in performance during Insert operations to a Sybase database.
The tSybaseOutputBulk and tSybaseBulkExec components are generally used together as
parts of a two step process. In the first step, an output file is generated. In the
second step, this file is used in the INSERT operation used to feed a database. These
two steps are fused together in the tSybaseOutputBulkExec component, detailed in a separate section. The
advantage of using two separate components is that the data can be transformed before it
is loaded in the database.
tSybaseBulkExec Standard properties
These properties are used to configure tSybaseBulkExec running in the Standard Job framework.
The Standard
tSybaseBulkExec component belongs to the Databases family.
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 |
Property type |
Either Built-in or |
 |
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 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 |
DB Version |
Select the version of the Sybase database to be used from the |
Server |
Database server IP address Available when you select Bulk |
Port |
Listening port number of DB server. Available when you select Bulk |
Database |
Database name |
Username and |
DB user authentication data. To enter the password, click the […] button next to the |
Sybase Schema |
Name of the database schema you want to use. |
Bcp Utility |
Name of the utility to be used to copy data over to the Sybase |
Server |
IP address of the database server for the Bcp utility |
Batch size |
Number of lines in each processed batch. |
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
Truncate table: The table content |
File Name |
Name of the file to be loaded. Warning:
This file should be located on the same machine as the |
Schema and Edit |
A schema is a row description. It defines the number of fields |
 |
Built-In: You create and store the schema locally for this component |
 |
Repository: You have already created the schema and stored it in the When the schema to be reused has default values that are You can find more details about how to |
 |
Click Edit
|
Advanced settings
Use an interface file |
Select this check box to specify an interface file in the field |
Additional JDBC parameters |
Specify additional connection properties in the existing DB |
Action on data |
On the data of the table defined, you can perform:
Bulk Insert: Add multiple entries
Bulk Update: Make simultaneous |
Field Terminator |
Character, string or regular expression to separate fields. Warning:
With the row/field separators compliant |
Row Terminator |
String (ex: ” |
Head row |
Number of head lines to be ignored in the beginning of a |
Encoding |
Select the encoding from the list, or enter the encoding between double quotes |
Output |
Select the type of output for the standard output of the Sybase to console, to global variable. |
tStataCatcher statistics |
Select this check box to gather the Job processing metadata at a |
Global Variables
Global Variables |
NB_LINE_DATA: the number of rows read. This is an After
NB_LINE_BAD: 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 mainly used when no particular transformation is |
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 |
The database server/client must be installed on the same machine As opposed to the Oracle dedicated bulk component, no action on This component requires installation of its related jar files. |
Related scenarios
For tSybaseBulkExec related topics, see: