why we use stored procedure transformation?

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


Please Help Members By Posting Answers For Below Questions

How do you update the records with or without using update strategy?

666


What is the sequence generator transformation in informatica?

617


What are the types of lookup transformation?

636


What is an Integration service in Informatica?

708


Global and Local shortcuts. Advantages.

1472






I have three same source structure tables. But, I want to load into single target table. How do I do this? Explain in detail through mapping flow.

779


What is workflow manager?

579


explain any diffcult scenario that u have faced in your experience... or explain any complex maping u have developed?

1713


Debugger what are the modules, what are the options you can specify when using debugger, can you change the expression condition dynamically when the debugger is running.

1874


Some flat files are there, out of these having some duplicate. How do you eliminate duplicate files while loading into targets?

1329


What is the session task and command task?

603


permutations of mapplet

2042


How do you take back up of repository?

726


What is data movement mode in Informatica and difference between them?

628


What is informatica powercenter repository?

718