You are on page 1of 9

Informatica FastExport Reader

Applies to:
Informatica 8.6.1

Summary This document is about the usage of FastExport Reader utility in Informatica 8.6.1. It describes the operational features, capabilities of the utility and the configuring options.

Author Bio
Author(s): Madhusudhanan V Company: Wipro Technologies Created on: September 19, 2009 Working as a Informatica developer .

TABLE OF CONTENTS
Purpose of the document ................................ ................................ ................................ .............. 3 Document Usage................................ ................................ ................................ .......................... 3 Details of Document ................................ ................................ ................................ ..................... 3 Steps to be followed ................................ ................................ ................................ ..................... 3 v v v Mapping level Steps : ................................ ................................ ................................ ............ 3 Session level Steps : ................................ ................................ ................................ ............ 5 Workflow level Steps :................................ ................................ ................................ ........... 5

Steps to create a new FastExport connection ................................ ................................ ............... 6 Limitations ................................ ................................ ................................ ................................ .... 8

Informatica FastExport Reader

Purpose of the documentInformatica FastExport Reader


This document provides a brief overview of FastExport Reader in Informatica. It describes the operational features and capabilities of the utility.

Document Usage
The target audience of this document are: v Informatica Architects / Informatica Developer.

Details of Document Preface


FastExport is a utility that establishes multiple sessions to quickly transfer large amounts of data from tables and views of the Teradata Relational Database Management System(RDBMS) to a client-based application. You can export data from any table or view to which you have the SELECT access privilege. In Informatica we use FastExport utility when a normal Relational reader takes more time to read records from a source.

Steps to be followed
v Mapping level Steps: Create a mapping with a Teradata source database.

Informatica Technology Network 2009 Informatica Corporation. All Rights Reserved.

http://technet.informatica.com 3

Informatica FastExport Reader

The mapping can include multiple source definitions from the same Teradata source database joined in a single source qualifier transformation. Create an SQL override; the PowerCenter uses it to create the FastExport control file.

The select query in the SQL override should refer to the database from which the data should be fetched. For example, consider the Sql query given below,
SELECT col1, col2, col3 FROM $$DBName.Tbl_name WHERE Col1 = test

In the above query the $$DBName is a Mapping variable which refers to a Database and it is explicitly defined in the parameter file.

Informatica Technology Network 2009 Informatica Corporation. All Rights Reserved.

http://technet.informatica.com 4

Informatica FastExport Reader

If you do not use an SQL override, PowerCenter generates a control file based on the connected ports in the source qualifier. v Session level Steps: Create a session, in that use FastExport reader instead of Relational reader. Use a FastExport connection to the Teradata tables you want to export in a session. Override the control file for a session by defining a control file in the session properties.

v Workflow level Steps: To support FastExport the integration service option in the workflow should point to UNICODE as shown below,

Informatica Technology Network 2009 Informatica Corporation. All Rights Reserved.

http://technet.informatica.com 5

Informatica FastExport Reader

Steps to create a new FastExport connection


To create a FastExport connection Select ConnectionsApplications in the Workflow Manager. The Connection Browser dialog box will appear, in that click New to create a new connection. Select a Teradata FastExport connection and click OK, the dialog box will appear as shown below,

Enter a name for the FastExport connection and enter the database username and password. FastExport has some attributes which will be assigned with some default values, the values can be overridden by the user, based on their necessity and We can also define the attribute values by passing the values through parameter file variables.

Informatica Technology Network 2009 Informatica Corporation. All Rights Reserved.

http://technet.informatica.com 6

Informatica FastExport Reader

\ The below table lists the attributes and its default values of a FastExport connection, Attribute TDPID Tenacity Max Sessions Sleep Block Size Data Encryption Logtable Name Executable Name Database Name n/a 4 1 6 64000 Disabled FE_<source_table_name> fexp n/a Default value

The below table describes about the Parameter file variables to be used for the Connection attributes, Connection Attribute TDPID Tenacity Max Sessions Sleep Block Size Logtable Name Executable Name Database Name Parameter Variable $<ConnectionName>_TDPIP $<ConnectionName>_Tenacity $<ConnectionName>_Max_Sessions $<ConnectionName>_Sleep $<ConnectionName>_Block_Size $<ConnectionName>_Logtable_Name $<ConnectionName>_Executable_Name $<ConnectionName>_Database_Name

Informatica Technology Network 2009 Informatica Corporation. All Rights Reserved.

http://technet.informatica.com 7

Informatica FastExport Reader

Listed below are some examples for the FastExport attribute variables defined in the Parameter file,
$AppConnectionTestDB=<DB_NAME>_FastExport $PMTempDir=$PMTgtFileDir\<subject_area> $Param_AppConnectionTestDB_Logtable_Name=<AUX_database_name>.test $Param_AppConnectionTestDB_Database_name=<database_name> $Param_AppConnectionTestDB_Max_Sessions=64 $Param_AppConnectionTestDB_Block_Size=128000

Where, $AppConnectionTestDB refers to the FastExport ConnectionName, $PMTempDir is used to define the path at which the ctl and output file will be created. $Param_AppConnectionTestDB_Logtable_Name $Param_AppConnectionTestDB_Database_name $Param_AppConnectionTestDB_Max_Sessions $Param_AppConnectionTestDB_Block_Size These variables are used to define the FastExport connection attributes.

Limitations
v FastExport supports a maximum export file size of 2 GB on a UNIX MP-RAS operating system. Other operating systems have no file size limitations. v The exported data files cannot be concatenated. v The session will fail if it contains both pre-session SQL command and FastExport.

Informatica Technology Network 2009 Informatica Corporation. All Rights Reserved.

http://technet.informatica.com 8

Disclaimer and Liability notice


Informatica offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this software asset, including any liability resulting from incompatibility between the content within this asset and the materials and services offered by Informatica. You agree that you will not hold, or seek to hold, Informatica responsible or liable with respect to the content of this software asset.

Informatica Technology Network 2009 Informatica Corporation. All Rights Reserved.

http://technet.informatica.com 1

You might also like