Professional Documents
Culture Documents
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
Document Usage
The target audience of this document are: v Informatica Architects / Informatica Developer.
Steps to be followed
v Mapping level Steps: Create a mapping with a Teradata source database.
http://technet.informatica.com 3
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.
http://technet.informatica.com 4
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,
http://technet.informatica.com 5
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.
http://technet.informatica.com 6
\ 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
http://technet.informatica.com 7
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.
http://technet.informatica.com 8
http://technet.informatica.com 1