Total Pageviews

Tuesday, March 18, 2014

Transaction Control Transformation.

Hi Folks,

Today I am going to tell you about transaction control transformation, which may not be well known but has its own significance.


TRANSACTION CONTROL TRANSFORMATION IN INFORMATICA

Transaction Control is an active and connected transformation. The transaction control transformation is used to control the commit and rollback of transactions. You can define a transaction based on varying number of input rows. As an example, you can define a transaction on a group rows in the employees data using the department Id as a key.
In the informatica power center, you can define the transaction at the following levels:

  1. Mapping level.
  2. Session level.

  • Mapping level: Use the transaction control transformation to define the transactions.
  • Session level: You can specify the "Commit Type" option in the session properties tab. The different options of "Commit Type" are Target, Source and User Defined. If you have used the transaction control transformation in the mapping, then the "Commit Type" will always be "User Defined".
When you run a session, the integration service evaluates the expression for each row in the transaction control transformation. When it evaluates the expression as commit, then it commits all the rows in the transaction to the target(s). When the integration service evaluates the expression as rollback, then it roll back all the rows in the transaction from the target(s).

Hope this will prove to be helpful.
Thanks.

No comments:

Post a Comment