You are on page 1of 3

http://wewillrockheredwh-manjula.blogspot.com/2007/08/faqs-on-informatica.

html
http://www.coolinterview.com/interview/11743/
http://www.coolinterview.com/type.asp?iType=18
http://www.techfaq360.com/informatica_interview_questions.jsp?qid=1014
http://technet.informatica.com/forum

Nested IF Expressions can be complex to write in Informatica using IIF. A simple


r way to write nested IF is to use the decode function.
For example, if you need to write something like
IF ( A > B ) THEN 1
ELSE IF ( C > D ) THEN 2
ELSE IF ( E > F ) THEN 3
ELSE 4
can be written as
DECODE(TRUE,A>B,1,
C>D,2,
E>F,3,
4)

What is difference between IIF and DECODE function...


--------------------------------------------------------------------------------
You can use nested IIF statements to test multiple conditions. The following exa
mple tests for various conditions and returns 0 if sales is zero or negative:
IIF( SALES > 0 IIF( SALES < 50 SALARY1 IIF( SALES < 100 SALARY2 IIF( SALES < 200
SALARY3 BONUS))) 0 )
You can use DECODE instead of IIF in many cases. DECODE may improve readability.
The following shows how you can use DECODE instead of IIF :
SALES > 0 and SALES < 50 SALARY1
SALES > 49 AND SALES < 100 SALARY2
SALES > 99 AND SALES < 200 SALARY3
SALES > 199 BONUS)

How can you recognise whether or not the newly added rows in the source are gets
insert in the target?
Version number...flag value and effective date range.
What are the out put files that the informatica server creates during the sessio
n running?
Informatica server log: Informatica server(on unix) creates a log for all status
and error messages(default name: pm.server.log). It also creates an error log f
or error
messages.
These files will be created in informatica home directory:-
Session log file: Informatica server creates session log file for each session.I
t writes information about session into log files such as initialization process
,creation of sql
commands for reader and writer threads,errors encountered and load summary.The a
mount of detail in session log file depends on the tracing level that you set.
Session detail file: This file contains load statistics for each targets in mapp
ing.Session detail include information such as table name,number of rows written
or rejected.U
can view this file by double clicking on the session in monitor window
Performance detail file: This file contains information known as session perform
ance details which helps you where performance can be improved.To genarate this
file select
the performance detail option in the session property sheet.
Reject file: This file contains the rows of data that the writer does notwrite t
o targets.
Control file: Informatica server creates control file and a target file when you
run a session that uses the external loader.The control file contains the infor
mation about the
target flat file such as data format and loading instructios for the external lo
ader.
Post session email: Post session email allows you to automatically communicate i
nformation about a session run to designated recipents.You can create two differ
ent
messages.One if the session completed sucessfully the other if the session fails
.
Indicator file: If you use the flat file as a target,You can configure the infor
matica server to create indicator file.For each target row,the indicator file co
ntains a number to indicate
whether the row was marked for insert,update,delete or reject.
output file: If session writes to a target file,the informatica server creates t
he target file based on file prpoerties entered in the session property sheet.
Cache files: When the informatica server creates memory cache it also creates ca
che files.
For the following circumstances informatica server creates index and datacache f
iles:-
Aggreagtor transformation
Joiner transformation
Rank transformation
Lookup transformation

Performance tuning in Informatica?


The goal of performance tuning is optimize session performance so sessions run d
uring the available load window for the Informatica Server.Increase the session
performance by following.
The performance of the Informatica Server is related to network connections. Dat
a generally moves across a network at less than 1 MB per second, whereas a local
disk
moves data five to twenty times faster. Thus network connections ofteny affect o
n session performance.So aviod netwrok connections.
Flat files: If ur flat files stored on a machine other than the informatca serve
r, move those files to the machine that consists of informatica server.
Relational datasources: Minimize the connections to sources ,targets and informa
tica server to
improve session performance.Moving target database into server system may improv
e session
performance.
Staging areas: If u use staging areas u force informatica server to perform mult
iple datapasses.
Removing of staging areas may improve session performance.
You can run the multiple informatica servers againist the same repository.Distib
uting the session load to multiple informatica servers may improve session perfo
rmance.
Run the informatica server in ASCII datamovement mode improves the session perfo
rmance.Because ASCII datamovement mode stores a character value in one
byte.Unicode mode takes 2 bytes to store a character.
If a session joins multiple source tables in one Source Qualifier, optimizing th
e query may improve performance. Also, single table select statements with an OR
DER BY or
GROUP BY clause may benefit from optimization such as adding indexes.
We can improve the session performance by configuring the network packet size,wh
ich allows
data to cross the network at one time.To do this go to server manger ,choose ser
ver configure database connections.
If u are target consists key constraints and indexes u slow the loading of data.
To improve the session performance in this case drop constraints and indexes bef
ore u run the
session and rebuild them after completion of session.
Running a parallel sessions by using concurrent batches will also reduce the tim
e of loading the
data.So concurent batches may also increase the session performance.
Partittionig the session improves the session performance by creating multiple c
onnections to sources and targets and loads data in paralel pipe lines.
In some cases if a session contains a aggregator transformation ,You can use inc
remental aggregation to improve session performance.
Aviod transformation errors to improve the session performance.
If the sessioin containd lookup transformation You can improve the session perfo
rmance by enabling the look up cache.
If Ur session contains filter transformation ,create that filter transformation
nearer to the sources
or You can use filter condition in source qualifier.
Aggreagator,Rank and joiner transformation may oftenly decrease the session perf
ormance .Because they must group data before processing it.To improve session
performance in this case use sorted ports option.

You might also like