Answer Posted / abhinaw prakash
Valid Stored Procedure Use cases
Complex Calculations
If we have a complex calculation that needs to be done for
each record repeatedly we may use stored procedure
transformation. Complex statistical calculations where a
certain measure is being calculated for each of the record
is a good example where one may want to use this.
Performance
There are cases where you may want to use this to improve
your performance. Let’s say one calculation requires
accessing or looking up multiple records or values from
several different tables. If you were to perform this
calculation in Informatica, you will have to perform
multiple lookup operations in many tables. Depending upon
the types of your lookup, this may involve caching the
entire data or at least making multiple network level calls
to transport these data over the network layer. Instead, if
we use a stored procedure transformation, we can perform the
entire calculation within the database, thereby, eliminating
any need to transport data over the network.
Security
Although rare but sometimes client may have a proprietary
algorithm implemented in database. Client does not want to
let others know about the actual algorithm in use, however,
wishes that we take advantage of this algorithm. If the
algorithm is implemented in database stored procedure and
proper access restrictions are placed, then we will not be
able to read the SP to see the algorithm, but still can call
this from Informatica to take the advantage of the
algorithm. Example, proprietary trading algorithms in banks
and brokerage farms.
Reusability
Reusability is a reason why you may want to use a stored
procedure transformation. Suppose you have already written a
complex code in database programming language, tested the
code exhaustively and you are pleased with the performance
of this piece of code. Now that your Organization is
implementing Informatica, you may not wish to rewrite this
entire piece of code in Informatica again. You can reuse
your existing code through stored procedure transformation.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
1)you have multiple source system where u receive files ,how do you actually load into mapping using transformation,what are the transformation you use? 2)you have files in ftp location ,how do you get it into mapping with you ETL concept?
if we have a delimiters at unwanted places in a flat file how can we over come those.
What are the new features of Power Center 5.0?
Can one use mapping parameter or variables created in one mapping into any other reusable transformation?
Can we create two repositories on same database instance in oracle?
What are batches?
How to do the error handling of if ur source is flatfiles?
what are the different types of transformation available in informatica. And what are the mostly used ones among them?
What are the differences between joiner transformation and source qualifier transformation?
What is the function of look up transformation?
can you please explain me pre session and post session options?
is there any way to read the ms excel datas directly into informatica?like is there any possibilities to take excel file as target?
tell me about your project functionality
What is the commit type if you have a transaction control transformation in the mapping?
Calculate sum of salaries department wise. Then the sum will be repeat for all columns in each department. Develop a mapping for this.