Data Warehouse Guide
You are here: Home Informatica tutorial

Informatica tutorial

ETL best practices, Tips & Tricks

Informatica is a leading data integration software. The products of the company support various enterprise-wide data integration and data quality solutions including data warehousing, data migration, data consolidation, data synchronization, data governance, master data management, and cross-enterprise data integration.

The important Informatica Components are:

  • Power Exchange
  • Power Center
  • Power Center Connect
  • Power Exchange
  • Power Channel
  • Metadata Exchange
  • Power Analyzer
  • Super Glue

This section will contain some useful tips and tricks for optimizing informatica performance. This includes some of the real time problems or errors and way to troubleshoot them, best prcatices etc.




Informatica Tips: Set based implementation

E-mail Print PDF

Inthe Type 2 SCD approach ,where you need to look for the existence of data in the target before inserting, if you use set-based, and run the package you will get an ORA-04091 error stating "Table ‘XXX’ is mutating, trigger/function may not see it." This error occurs because you are inserting into, and the function is selecting from, the target table in the same set-based statement. (fig1)

informatica tips
Though ,the mapping will function properly when deployed as a row-based package, the  performance of the row-based implementation may be unacceptable when considering  the volume of rows being processed and the size of the ETL window.
So, an alternative approach is available that will allow you to deploy the mapping using a set-based implementation. First, you will need to create a staging table that looks exactly like the target table; then, substitute the staging table for the target table in the mapping. The Type 2 SCD function will still do the lookup on the target table, but the inserts will be redirected to the staging table. A second mapping will then be required that inserts the new rows in the staging table into the target table.

 
  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  3 
  •  4 
  •  Next 
  •  End 
  • »
Page 1 of 4
Interview Questions Data minining blog