Sie sind auf Seite 1von 4

TRANSFORMATION : It is a metadata object which is used to convert one form of data into another format as required by the client

. There are two types of transformationa in informatica : 1) ACTIVE TRANSFORMATION : When there is change in records when data is flowing from source to target that type of transformations are called as active transformations . 2) PASSIVE TRANSFORMATION : When there is no change in records when data is flowing from source to target that type of transformations are called as assive transformations .

FILTER TRANSFORMATION : It is an active transformation which is used to filter the data based on given filter condition! The records which are not met with the filter condition are dropped . "ow will you prove filter as a passive transformation# ut the filter condition as true and pass all the records from filter transformation! In this approach every record meets the filter condition so that no record will be dropped.

ROUTER TRANSFORMATION : It is an active transformation which is used to route the data based on multiple filter conditions! The records which are not met with the filter conditions are also captured in the default group. $iff between filter and router# %) &ilter transformation which is used to filter the data based on one filter condition in 'outer we can give multiple filter conditions . 2) The records which are not met with the filter conditions are dropped but in router we can capture all the rejected records in default group . What are the different groups in router transformation # Input (roup ) The records which weget from source) *utput (roup) &ilter conditions are given on output groups ) $efault (roup) 'ejected records are captured in the default group)

EXPRESSION TRANSFORMATION : It is a passive transformation which is used to calculate the e+pressions on a row by row basis . The different ports in e+pression transformation are Input ort) 'ecords which are coming from source) *utput ort ) 'ecords which are passed in to another transformation in the mapping pipeline) ,ariable ort ) Temporary memory area *' buffer area where we can call the variable port in output port ) -ll the e+pressions arecalculated in output port

AGGREGATOR TRANSFORMATION :

It is an active transformation which is used to calculate aggregated data based on groups . If you enable group by informatica server calculate aggregate data based on that group and returns the last row of each group . If you wont enable group by informatica server considers complete table as one group and calculates aggregate data and return last row of the table. "ow will you improve performance in aggregator transformation # .sing sorted input "ow the sorted input wor/s in aggregator transformation# (enerally when we run the mapping with aggregator transformation informatica server creates cache files Inde+ cache).I$0 file) and $ata cache).$-T file) . In Inde+ cache file all the group by port columns are stored where as in data cache file all the aggregated data and output data are stored . Informatica server manually sorts the data in an order in inde+ cache file then it performs aggregate calculations . If you enable sorted input informatica server assumes the source data is in sorted order ! "ence it wont sort the data in inde+ cache file so performance will be good . 11111 2nsure source data should come in sorted order when you enable sorted input option if not your session get fails.

SORTER TRANSFORMATION : It is an active transformation which is used to sort the data as ascending or descing order ! We can also eliminate duplicates using sorter transformation. "ence sorter is an active transformation .

SEQUENCE GENERATOR TRANSFORMATION : It is a passive transformation which is used to generate unique /ey numbers ! There are only two ports)3urrent value and 4e+t value) in seq generator transformation we cant add ports in this transfmn and will be no input ports for this transformation . SOURCE QUALIFIER TRANSFORMATION : 5ource qualifier is the passive transformation which is default transformation in informatica! Informatica server does6nt understand data base data types sq transfmn converts the data base data types in to which informatica understands When source is file source qualifier transformation is just used to read the data from it! If source is data base we can perform the following transformations in source qualifier itself %) We can filter the data 2) 7ou can join the tables in sq itself ) 2nsure the tables which you are joining should come from same data base and from same schema ) 8) We can sort the data as well as used to eliminate duplicates using distinct /ey word 9) 3ustomised sql queries can run in source qualifier transfmn .

LOOKUP TRANSFORMATION : :oo/up is a passive transformation which is used to loo/up on relational table! &lat file! ,iew or 5ynonym based on loo/up condition! It the condition matches we get the loo/up table port values else we get the null values . There are two types of loo/up6s in informatica connected and unconnected loo/up . Connected look !: :oo/up transformation which involves in the mapping it recieves multiple inputs and send6s multiple outputs . Unconnected Look !: :oo/up which doesnot involve in the mapping it recieves multiple inputs and send6s only one output in the form of return port . unconn loo/up is called in the transformations which supports e+pression editor . :oo/up transformation contain the follwing caches : %) 5tatic cache 2) :oo/up cache 8) ersistent cache 9) $ynamic cache ;) 'ecache <) 4amed cache 5tatic cache : 2very record coming from the source hit6s the data base and compares the source record with loo/up table records based on loo/up condition! If the loo/up condition matches we get loo/up table port values else null values. :oo/up cache : when we run session with loo/up cache first record coming from the source hit the data base and compares source record with loo/up table records based on loo/up condition if the condition matches it get=s the loo/up table data else get6s the null value=s at the same time it get=s all the loo/up table data in to cache file and stores in informatica ! &rom ne+t record onwards it compares source records with loo/up cache files based on loo/up condition instead of hitting data base. *nce session got succeeded informatica server deletes cache files. ersistent cache: 'eusability of cache files is called as persistent cache. When loo/up table is not static in persistent cache if we enable 'ecache from loo/up source it deletes cache files and frehly loo/up on data base and gets updated data in to cache .

MAPPLET: 5et of reusable transformations is called as mapplet! >applet is designed with mpplt input and mpplt output transformation. >applets are created to avoid redesigning of same logic in different mappings instead of it develop reusable code in mapplet and use the code in the mappings where ever you require .

Inc"e#ent$l A%%"e%$t&on: When we run a session with aggregator transformation informatica server creates inde+ cache and data cache files in inde+ cache file all the group by port information is stored and in data cache file all the output and aggregate data s stored and when session get succeeded informatica server deletes cache files when you enable incremental aggregation informatica server will not delete the cache files . %) &irst timw when you run the session informatica server creates inde+ and data cache file 2) 4e+t time when you run the session every record coming from source chec/s for the corresponding group in inde+ cache file if it finds corresponding group it updates in cache file as well as updates in target table if a new record comes from source which is not present in cache file it inserts in to cache file as well as it inserts in to target table . M$!!&n% P$"$#ete"': 'epresents a constant value which is defined before session run through out the mapping it remains same value. 5ynta+ of mapping parameter: ?(lobal@ AA *' ?foldername.W&:wfBname.5T:sBname@ AA When we define parameters informatica server reads at three levels. 3hec/s the parameter file path if defined ta/es the parameter value from it else Ta/e the initial value which is defined in mapping. else Ta/e default value of data type.

>apping ,ariables: 'epresents a value which can be changed during the session through out the mapping it wont remains same value.

Das könnte Ihnen auch gefallen