informatica excel source.docx

Upload: basanta-kumar-bora

Post on 04-Apr-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/30/2019 Informatica Excel Source.docx

    1/17

    Informatica Excel SourceLast Updated on Monday, 24 September 2012 12:18Written by Navonil Sarkar

    This article is a guide on how to Unload data from EXCEL file system to target relational

    database using Informatica.

    Excel as a Source

    Follow the instructions below on how to extract data from excel file

    Define Range in Excel:

    File Name: EXCEL_FILE

    Path: PowerCenter8.6.1\server\infa_shared\SrcFiles [File is on ETL Server]

    A range should be defined containing the data in the excel workbook like below and thensave the workbook.

    http://www.dwbiconcepts.com/etl/14-etl-informatica/53-informatica-excel-source.htmlhttp://www.dwbiconcepts.com/etl/14-etl-informatica/53-informatica-excel-source.html
  • 7/30/2019 Informatica Excel Source.docx

    2/17

    This defined name DEPT will be treated asrelational table by informatica.

    System DSN creation:DSN Name: DSN_EXEL_FILE

  • 7/30/2019 Informatica Excel Source.docx

    3/17

    Workbook selection in DSN

  • 7/30/2019 Informatica Excel Source.docx

    4/17

    Importing data definition of Excel in Source Analyzer:Since Informatica treats MS Excel file as a database, Import from Databaseneeds to be

    selected.

    System DSN created above should be selected. No username/password is required here.

  • 7/30/2019 Informatica Excel Source.docx

    5/17

    DEPT needs to be selected and OK should be clicked to import the source definition.After import Data types and Precision can be changed accordingly.

  • 7/30/2019 Informatica Excel Source.docx

    6/17

    [N.B.: range name that is defined in excel is the table name]

    Mapping needs to be created with the imported source.

    Creation of Connection in Workflow Manager:A relational ODBC type connection should be created.

    http://png.dwbiconcepts.com/images/etl_infa/excel_src/info_excel10.pnghttp://png.dwbiconcepts.com/images/etl_infa/excel_src/info_excel10.png
  • 7/30/2019 Informatica Excel Source.docx

    7/17

    Session level Connection should be created with below details:

    Username: PmNullUser

    Pwd: PmNullPasswd

    Connection String:

  • 7/30/2019 Informatica Excel Source.docx

    8/17

  • 7/30/2019 Informatica Excel Source.docx

    9/17

    And create a workflow to run the mapping.

    Limitations:1. Manual intervention is required to select the range in Excel.2. Different DSN and Connection should be made for different excel workbook.3. Need to have Microsoft Excel Driver under PowerCenter8.6.1\ODBC5.2

    http://png.dwbiconcepts.com/images/etl_infa/excel_src/info_excel14.pnghttp://png.dwbiconcepts.com/images/etl_infa/excel_src/info_excel13.pnghttp://png.dwbiconcepts.com/images/etl_infa/excel_src/info_excel14.pnghttp://png.dwbiconcepts.com/images/etl_infa/excel_src/info_excel13.png
  • 7/30/2019 Informatica Excel Source.docx

    10/17

    NOTE: Excel 2007 Table as Source

    Create Table/ Define Name in MS Excel 2007:-

    Create the data set in MS Excel sheet 2007

    Select the data set

    Go to Insert and then Table tab.

  • 7/30/2019 Informatica Excel Source.docx

    11/17

    Create the table and then Name the table

    Finally Save the sheet in 2007 format.

  • 7/30/2019 Informatica Excel Source.docx

    12/17

    Last Updated on Wednesday, 10 October 2012 05:09

    Written by Saurav Mitra

    Informatica 9x allows us to configure Lookup transformation to return multiple rows. So now we can

    retrieve multiple rows from a lookup table thus making Lookup transformation an Active transformation

    type.

    How to configure a Lookup as Active?

    To use this option, while creating the transformation, we must configure the Lookup transformation

    property "Lookup Policy on Multiple Match" to . Once created we cannot change the mode

    between passive and active. When ever the attribute is set to

    . The property becomes read-only.

    Implementing a Lookup As Active

    Scenario: Suppose we have customer order data in a relational table. Each customer has multiple orders in

    the table. We can configure the Lookup transformation to return all the orders placed by a customer.

    Now check the below simple mapping where we want to return all employees in the departments.

    http://www.dwbiconcepts.com/etl/14-etl-informatica/90-active-lookup-transformation.html
  • 7/30/2019 Informatica Excel Source.docx

    13/17

    Go to Transformation and click Create. Select Transformation Type as Lookup and enter a name for the

    transformation.

    Next check the option Return All Values on Multiple Match.

    Here our source is the DEPT table and the EMP table is used a lookup. The lookup condition is based on

    the department number.

    http://nonpng.dwbiconcepts.com/images/etl_infa/active_lkp/ActLkp3.jpghttp://nonpng.dwbiconcepts.com/images/etl_infa/active_lkp/ActLkp3.jpghttp://nonpng.dwbiconcepts.com/images/etl_infa/active_lkp/ActLkp3.jpg
  • 7/30/2019 Informatica Excel Source.docx

    14/17

    Basically we try to achive the result as the below sql select:-

    SELECT DEPT.DEPTNO, DEPT.DNAME, DEPT.LOC, EMP.ENAME, EMP.SAL

    FROM DEPT LEFT OUTER JOIN EMP

    ON DEPT.DEPTNO = EMP.DEPTNO

    http://nonpng.dwbiconcepts.com/images/etl_infa/active_lkp/ActLkp5.jpghttp://nonpng.dwbiconcepts.com/images/etl_infa/active_lkp/ActLkp4.jpghttp://nonpng.dwbiconcepts.com/images/etl_infa/active_lkp/ActLkp5.jpghttp://nonpng.dwbiconcepts.com/images/etl_infa/active_lkp/ActLkp4.jpg
  • 7/30/2019 Informatica Excel Source.docx

    15/17

    Active Lookup Transformation Restrictions:

    1. We cannot return multiple rows from an unconnected Lookup transformation2. We cannot enable dynamic cache for a Active Lookup transformation.3. Active Lookup Transformation that returns multiple rows cannot share a cache with a similar

    Passive Lookup Transformation that returns one matching row for each input row.

    4.ERFORMANCE TUNING OF LOOKUP TRANSFORMATIONS5. Naveen

    6. 17

    7. Apr 2011

    8.9. Lookup transformations are used to lookup a set of values in another table.Lookups slows

    down the performance.

    10.1. To improve performance, cache the lookup tables. Informatica can cache all the lookup andreference tables; this makes operations run very fast. (Meaning of cache is given in point 2 of

    this section and the procedure for determining the optimum cache size is given at the end of

    this document.)

    11.2. Even after caching, the performance can be further improved by minimizing the size of thelookup cache. Reduce the number of cached rows by using a sql override with a restriction.

    12.Cache: Cache stores data in memory so that Informatica does not have to read the table eachtime it is referenced. This reduces the time taken by the process to a large extent. Cache is

    automatically generated by Informatica depending on the marked lookup ports or by a user

    defined sql query.

    13.Example for caching by a user defined query: -14.Suppose we need to lookup records where employee_id=eno.

    15. employee_id is from the lookup table, EMPLOYEE_TABLE and eno is the16.input that comes from the from the source table, SUPPORT_TABLE.17.We put the following sql query override in Lookup Transform18. select employee_id from EMPLOYEE_TABLE

    http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.htmlhttp://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.htmlhttp://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.htmlhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=stumbleupon&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=digg&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=delicious&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=google&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=twitter&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=facebook&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://if%20%28%28navigator.appname%20%3D%3D%20%27microsoft%20internet%20explorer%27%29%20%26%26%20%28document.all%29%29%20%7Bwindow.external.addfavorite%28%27http//informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html',%20'Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS')%7D%20else%20if%20(window.sidebar)%20%7Bwindow.sidebar.addPanel('Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS',%20'http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html',%20'')%7D%20else%20%7Balert('Press%20CTRL-D%20(Netscape)%20or%20CTRL-T%20(Opera)%20to%20bookmark')%7D;http://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=stumbleupon&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=digg&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=delicious&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=google&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=twitter&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=facebook&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://if%20%28%28navigator.appname%20%3D%3D%20%27microsoft%20internet%20explorer%27%29%20%26%26%20%28document.all%29%29%20%7Bwindow.external.addfavorite%28%27http//informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html',%20'Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS')%7D%20else%20if%20(window.sidebar)%20%7Bwindow.sidebar.addPanel('Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS',%20'http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html',%20'')%7D%20else%20%7Balert('Press%20CTRL-D%20(Netscape)%20or%20CTRL-T%20(Opera)%20to%20bookmark')%7D;http://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=stumbleupon&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=digg&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=delicious&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=google&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=twitter&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=facebook&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://if%20%28%28navigator.appname%20%3D%3D%20%27microsoft%20internet%20explorer%27%29%20%26%26%20%28document.all%29%29%20%7Bwindow.external.addfavorite%28%27http//informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html',%20'Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS')%7D%20else%20if%20(window.sidebar)%20%7Bwindow.sidebar.addPanel('Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS',%20'http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html',%20'')%7D%20else%20%7Balert('Press%20CTRL-D%20(Netscape)%20or%20CTRL-T%20(Opera)%20to%20bookmark')%7D;http://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=stumbleupon&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=digg&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=delicious&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=google&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=twitter&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=facebook&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://if%20%28%28navigator.appname%20%3D%3D%20%27microsoft%20internet%20explorer%27%29%20%26%26%20%28document.all%29%29%20%7Bwindow.external.addfavorite%28%27http//informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html',%20'Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS')%7D%20else%20if%20(window.sidebar)%20%7Bwindow.sidebar.addPanel('Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS',%20'http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html',%20'')%7D%20else%20%7Balert('Press%20CTRL-D%20(Netscape)%20or%20CTRL-T%20(Opera)%20to%20bookmark')%7D;http://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=stumbleupon&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=digg&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=delicious&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=google&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=twitter&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=facebook&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://if%20%28%28navigator.appname%20%3D%3D%20%27microsoft%20internet%20explorer%27%29%20%26%26%20%28document.all%29%29%20%7Bwindow.external.addfavorite%28%27http//informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html',%20'Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS')%7D%20else%20if%20(window.sidebar)%20%7Bwindow.sidebar.addPanel('Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS',%20'http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html',%20'')%7D%20else%20%7Balert('Press%20CTRL-D%20(Netscape)%20or%20CTRL-T%20(Opera)%20to%20bookmark')%7D;http://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=stumbleupon&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=digg&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=delicious&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=google&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=twitter&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=facebook&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://if%20%28%28navigator.appname%20%3D%3D%20%27microsoft%20internet%20explorer%27%29%20%26%26%20%28document.all%29%29%20%7Bwindow.external.addfavorite%28%27http//informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html',%20'Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS')%7D%20else%20if%20(window.sidebar)%20%7Bwindow.sidebar.addPanel('Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS',%20'http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html',%20'')%7D%20else%20%7Balert('Press%20CTRL-D%20(Netscape)%20or%20CTRL-T%20(Opera)%20to%20bookmark')%7D;http://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=stumbleupon&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=digg&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=delicious&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=google&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=twitter&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=facebook&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://if%20%28%28navigator.appname%20%3D%3D%20%27microsoft%20internet%20explorer%27%29%20%26%26%20%28document.all%29%29%20%7Bwindow.external.addfavorite%28%27http//informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html',%20'Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS')%7D%20else%20if%20(window.sidebar)%20%7Bwindow.sidebar.addPanel('Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS',%20'http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html',%20'')%7D%20else%20%7Balert('Press%20CTRL-D%20(Netscape)%20or%20CTRL-T%20(Opera)%20to%20bookmark')%7D;http://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=stumbleupon&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=digg&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=delicious&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=google&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=twitter&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=facebook&u=http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html&t=Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS&p=informaticatutorials-naveen.blogspot.inhttp://if%20%28%28navigator.appname%20%3D%3D%20%27microsoft%20internet%20explorer%27%29%20%26%26%20%28document.all%29%29%20%7Bwindow.external.addfavorite%28%27http//informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html',%20'Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS')%7D%20else%20if%20(window.sidebar)%20%7Bwindow.sidebar.addPanel('Complete%20reference%20to%20Informatica:%20PERFORMANCE%20TUNING%20OF%20LOOKUP%20TRANSFORMATIONS',%20'http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html',%20'')%7D%20else%20%7Balert('Press%20CTRL-D%20(Netscape)%20or%20CTRL-T%20(Opera)%20to%20bookmark')%7D;http://informaticatutorials-naveen.blogspot.in/2011/04/performance-tuning-of-lookup.html
  • 7/30/2019 Informatica Excel Source.docx

    16/17

    19.If there are 50,000 employee_id, then size of the lookup cache will be 50,000.20.Instead of the above query, we put the following:-21. select emp employee_id from EMPLOYEE_TABLE e, SUPPORT_TABLE s22.where e. employee_id=s.eno23.If there are 1000 eno, then the size of the lookup cache will be only 1000.But here the

    performance gain will happen only if the number of records in SUPPORT_TABLE is not huge.

    Our concern is to make the size of the cache as less as possible.

    24.3. In lookup tables, delete all unused columns and keep only the fields that are used in themapping.

    25.4. If possible, replace lookups by joiner transformation or single source qualifier.Joinertransformation takes more time than source qualifier transformation.

    26.5. If lookup transformation specifies several conditions, then place conditions that use equalityoperator = first in the conditions that appear in the conditions tab.

    27.6. In the sql override query of the lookup table, there will be an ORDER BY clause. Remove itif not needed or put fewer column names in the ORDER BY list.

    28.7. Do not use caching in the following cases: -

    29.-Source is small and lookup table is large.30.-If lookup is done on the primary key of the lookup table.31.8. Cache the lookup table columns definitely in the following case: -32.-If lookup table is small and source is large.33.9. If lookup data is static, use persistent cache. Persistent caches help to save and reuse

    cache files. If several sessions in the same job use the same lookup table, then using

    persistent cache will help the sessions to reuse cache files. In case of static lookups, cache

    files will be built from memory cache instead of from the database, which will improve the

    performance.

    34.10. If source is huge and lookup table is also huge, then also use persistent cache.

  • 7/30/2019 Informatica Excel Source.docx

    17/17

    35.11. If target table is the lookup table, then use dynamic cache. The Informatica serverupdates the lookup cache as it passes rows to the target.

    36.12. Use only the lookups you want in the mapping. Too many lookups inside a mapping willslow down the session.

    37.13. If lookup table has a lot of data, then it will take too long to cache or fit in memory. Somove those fields to source qualifier and then join with the main table.

    38.14. If there are several lookups with the same data set, then share the caches.39.15. If we are going to return only 1 row, then use unconnected lookup.40.16. All data are read into cache in the order the fields are listed in lookup ports. If we have an

    index that is even partially in this order, the loading of these lookups can be speeded up.

    41.17. If the table that we use for look up has an index (or if we have privilege to add index tothe table in the database, do so), then the performance would increase both for cached and un

    cached lookup

    42.Read more:http://informaticatutorials-naveen.blogspot.com/2011/04/performance-tuning-of-

    lookup.html#ixzz2Be01aYXs

    Under Creative Commons License:Attribution Non-Commercial

    http://informaticatutorials-naveen.blogspot.com/2011/04/performance-tuning-of-lookup.html#ixzz2Be01aYXshttp://informaticatutorials-naveen.blogspot.com/2011/04/performance-tuning-of-lookup.html#ixzz2Be01aYXshttp://informaticatutorials-naveen.blogspot.com/2011/04/performance-tuning-of-lookup.html#ixzz2Be01aYXshttp://informaticatutorials-naveen.blogspot.com/2011/04/performance-tuning-of-lookup.html#ixzz2Be01aYXshttp://creativecommons.org/licenses/by-nc/3.0http://creativecommons.org/licenses/by-nc/3.0http://creativecommons.org/licenses/by-nc/3.0http://creativecommons.org/licenses/by-nc/3.0http://informaticatutorials-naveen.blogspot.com/2011/04/performance-tuning-of-lookup.html#ixzz2Be01aYXshttp://informaticatutorials-naveen.blogspot.com/2011/04/performance-tuning-of-lookup.html#ixzz2Be01aYXs