informatica fastexport reader with teradata
DESCRIPTION
Informatica FastExport Reader With TeradataTRANSCRIPT
-
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 Mapping level Steps : ................................ ................................ ................................ ............ 3 v Session level Steps : ................................ ................................ ................................ ............ 5 v Workflow level Steps :................................ ................................ ................................ ........... 5 Steps to create a new FastExport connection ................................ ................................ ............... 6 Limitations................................ ................................ ................................ ................................ .... 8
-
Informatica FastExport Reader
Informatica Technology Network http://technet.informatica.com 2009 Informatica Corporation. All Rights Reserved. 3
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 FastExport Reader
Informatica Technology Network http://technet.informatica.com 2009 Informatica Corporation. All Rights Reserved. 4
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,
In the above query the $$DBName is a Mapping variable which refers to a
Database and it is explicitly defined in the parameter file.
SELECT col1, col2, col3
FROM
$$DBName.Tbl_name
WHERE
Col1 = test
-
Informatica FastExport Reader
Informatica Technology Network http://technet.informatica.com 2009 Informatica Corporation. All Rights Reserved. 5
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 FastExport Reader
Informatica Technology Network http://technet.informatica.com 2009 Informatica Corporation. All Rights Reserved. 6
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 FastExport Reader
Informatica Technology Network http://technet.informatica.com 2009 Informatica Corporation. All Rights Reserved. 7
\
The below table lists the attributes and its default values of a FastExport connection,
Attribute Default value
TDPID n/a
Tenacity 4
Max Sessions 1
Sleep 6
Block Size 64000
Data Encryption Disabled
Logtable Name FE_
Executable Name fexp
Database Name n/a
The below table describes about the Parameter file variables to be used for the Connection
attributes,
Connection Attribute Parameter Variable
TDPID $_TDPIP
Tenacity $_Tenacity
Max Sessions $_Max_Sessions
Sleep $_Sleep
Block Size $_Block_Size
Logtable Name $_Logtable_Name
Executable Name $_Executable_Name
Database Name $_Database_Name
-
Informatica FastExport Reader
Informatica Technology Network http://technet.informatica.com 2009 Informatica Corporation. All Rights Reserved. 8
Listed below are some examples for the FastExport attribute variables defined in the Parameter file,
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 These variables are used to
$Param_AppConnectionTestDB_Max_Sessions define the FastExport
$Param_AppConnectionTestDB_Block_Size 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.
$AppConnectionTestDB=_FastExport
$PMTempDir=$PMTgtFileDir\
$Param_AppConnectionTestDB_Logtable_Name=.test
$Param_AppConnectionTestDB_Database_name=
$Param_AppConnectionTestDB_Max_Sessions=64
$Param_AppConnectionTestDB_Block_Size=128000
-
Informatica Technology Network http://technet.informatica.com 2009 Informatica Corporation. All Rights Reserved. 1
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 FastExport Reader.pdfCGC-template-disclaimer-onlyDisclaimer and Liability notice