Configuring sparse lookup operations
You configure the Oracle connector to perform a sparse lookup on an Oracle database.
Before you begin
- To specify the format of the data records that the Oracle connector reads from an Oracle database, set up column definitions on a link.
- Configure the Oracle connector as a source for the reference data.
About this task
In a sparse lookup, the connector runs the specified SELECT statement or PL/SQL block one time for each parameter set that arrives in the form of a record on the input link to the Lookup stage. The specified input parameters in the statement must have corresponding columns defined on the reference link. Each input record includes a set of parameter values that are represented by key columns. The Oracle connector sets the parameter values on the bind variables in the SELECT statement or PL/SQL block, and then the Oracle connector runs the statement or block. The result of the lookup is routed as one or more records through the reference link from the Oracle connector back to the Lookup stage and from the Lookup stage to the output link of the Lookup stage. A sparse lookup is also known as a direct lookup because the lookup is performed directly on the database.
Typically, you use a sparse lookup when the target table is too large to fit in memory. You can also use the sparse lookup method for real-time jobs.
You can use the sparse lookup method only in parallel jobs.
No comments:
Post a Comment