Lookup trans

Description

1 INFA (Lookup Transformation) Mind Map on Lookup trans, created by dbrown on 09/11/2013.
dbrown
Mind Map by dbrown, updated more than 1 year ago
dbrown
Created by dbrown over 10 years ago
36
0

Resource summary

Lookup trans
  1. Passive

    Annotations:

    • does not change the number of rows that pass through the transformation, maintains the Transaction boundary, and maintains the row type.
    1. single value
    2. Active

      Annotations:

      • pass through the transformation. Change the transaction boundary. Change the row type.
      1. Multiple values returned
      2. Connected
        1. Cache includes the lookup source columns in the lookup condition and the lookup source columns that are output ports.
          1. Can return multiple columns from the same row or insert into the dynamic lookup cache
            1. no match for the lookup condition,
              1. IS returns the default value for all output ports
              2. Pass multiple output values
                1. Link lookup/output ports
                  1. Supports user-defined default values
                    1. How its processed
                      1. Receives input values directly another transformation in the from the pipeline.
                        1. each input row, IS queries source or cache based on lookup ports & condition
                          1. dynamic cache
                            1. IS inserts the row when it does not find the row; updates the row or leaves the row unchanged.

                              Annotations:

                              • can pass rows to a Filter or Router transformation to filter new rows to the target
                              1. flag-insert
                                1. flag-update
                                  1. unchanged
                                2. static cache
                                  1. IS returns values from lookup query
                                  2. uncached
                                    1. IS returns values from lookup query
                                  3. IS passes return values from the query to the next transformation
                                3. Unconnected

                                  Annotations:

                                  • not connected to other transformations in the mapping. An unconnected transformation is called within another transformation, and returns a value to that transformation.
                                  1. Receives input values from the result of a :LKP expression in another transformation
                                    1. one return port (R). Returns one column per row.
                                      1. is no match, IS returns NULL
                                        1. match, IS returns the result to return port
                                          1. passes value to transformation calling :LKP expression
                                            1. one output value
                                              1. Does not support user-defined default values.
                                                1. how its procecessed
                                                  1. static cache
                                                    1. all lookup/output ports in the lookup condition and the lookup/return port
                                                    2. Receives input values from the result of a :LKP expression in another transformation
                                                      1. lookup source
                                                        1. IS returns one value into the return port
                                                          1. passes the return value into the :LKP expression
                                                        2. source types
                                                          1. relational

                                                            Annotations:

                                                            • connect to the lookup source using ODBC and import the table definition
                                                            1. Override the default SQL statement to add a WHERE clause or to query multiple tables
                                                              1. Sort null data high or low, based on database support
                                                                1. Perform case-sensitive comparisons based on the database support
                                                                2. flat file

                                                                  Annotations:

                                                                  • select a flat file definition in the repository or import the source when you create the transformation. When you import a flat file lookup source, the Designer invokes the Flat File Wizard.
                                                                  1. sorted input
                                                                    1. input needs sorted&grouped
                                                                    2. Use indirect files as lookup sources by configuring a file list as the lookup file name
                                                                      1. Use sorted input for the lookup.
                                                                        1. Sort null data high or low.
                                                                          1. Use case-sensitive string comparison with flat file lookups
                                                                          2. piplines

                                                                            Annotations:

                                                                            • to perform a lookup on an application source that is not a relational table or flat file.  has a source qualifier as source. except on Application Multi-Group Source Qualifier
                                                                            1. the lookup source and source qualifier are in a different pipeline

                                                                              Annotations:

                                                                              • The source and source qualifier are in a partial pipeline that contains no target. The Integration Service reads the source data in this pipeline and passes the data to the Lookup transformation to create the cache
                                                                              1. You can create multiple partitions in the partial pipeline to improve performance.
                                                                                1. improve performance when processing relational or flat file lookup sources, create a pipeline Lookup transformation instead of a relational or flat file Lookup transformation. You can create partitions to process the lookup source and pass it to the Lookup transformation.
                                                                                  1. connected
                                                                                    1. unconnected
                                                                                      1. IS retrieves the lookup source data in this pipeline and passes the data to the lookup cache.
                                                                                        1. separate target load order group
                                                                                      2. source
                                                                                        1. Relational source or target definition in the repository
                                                                                          1. Flat file source or target definition in the repository
                                                                                            1. Table or file that the Integration Service and PowerCenter Client machine can connect to
                                                                                              1. Source qualifier definition in a mapping
                                                                                              2. Performance
                                                                                                1. Cached lookups
                                                                                                  1. indexing the columns in the lookup ORDER BY
                                                                                                  2. Uncached lookups
                                                                                                    1. indexing the columns in the lookup condition.
                                                                                                  Show full summary Hide full summary

                                                                                                  Similar

                                                                                                  Properties of Lookup
                                                                                                  dbrown
                                                                                                  Lookup query
                                                                                                  dbrown
                                                                                                  Lookup condition
                                                                                                  dbrown
                                                                                                  Lookup Ports
                                                                                                  dbrown
                                                                                                  Returning multiple rows
                                                                                                  dbrown
                                                                                                  Lookup Cache
                                                                                                  dbrown
                                                                                                  Database Deadlock Resilience
                                                                                                  dbrown
                                                                                                  Lookup query - created from Mind Map_1
                                                                                                  dbrown
                                                                                                  Transformation Functions
                                                                                                  dbrown
                                                                                                  Lookup Ports - created from Mind Map
                                                                                                  dbrown
                                                                                                  Lookup condition - created from Mind Map
                                                                                                  dbrown