Escolar Documentos
Profissional Documentos
Cultura Documentos
Wipro Confidential
Wipro Technologies
Revision History Document Reference Author Reason for issue Effecti ve Date Approved y
Amaranadh Palappareddi
Table of !ontent
Wipro Confidential
Wipro Technologies
Informatica Debugger....................................4
1. Overview....................................................................................................................4 2. Debugger Sessions......................................................................................................4 3. Debug Process.............................................................................................................4 4. Privileges Required.....................................................................................................5 1. Normal:....................................................................................................................... 2. !erbose ini"iali#a"ion:................................................................................................. 3. !erbose da"a: .............................................................................................................. 4. $erse:...........................................................................................................................% 1. &''ec"ive (a))ing Design..........................................................................................* 1.1 Descri)"ion ...........................................................................................................* 1.2 +eneral Sugges"ions 'or O)"imi#ing ....................................................................* 1.2 ,oo-u) $rans'orma"ion O)"imi#ing $i)s ..........................................................1. 1.3 O)era"ions and &/)ression O)"imi#ing $i)s .....................................................11 2. Per'ormance $uning a" 0or-'lows...........................................................................11 2.1 Overview.............................................................................................................11 2.2 1den"i'2ing wor-'low bo""lenec-s.......................................................................12 3. O)"imi#ing 0or-'low 'or be""er )er'ormance 3session4...........................................12
Wipro Confidential
Wipro Technologies
Informatica Debugger
"# $verview
To gain troubleshooting information, we can debug a valid mapping We configure and run the Debugger from within the !apping "esigner The "ebugger uses a session to run the mapping on the Integration %ervice When we run the "ebugger, it pauses at brea#points and we can view and edit transformation output data We can configure the "ebugger in two situations$ efore running a session& After we save a mapping, we can have some initial tests on the mapping After running a session& %f the session fails, we can configure the Debugger against the session and find out the reason for failure or une&pected results
+# Debug Process
Here are the steps to debug a mapping$ !reate brea,points& We can create brea#points in a mapping where we want to evaluate data and error conditions !onfigure the Debugger& Using the "ebugger Wi)ard configure the Debugger and select a session When we create a debug session, we can select sub sessions li#e sources and targets under debugger wi)ard
Wipro Confidential
Wipro Technologies
Run the Debugger& When we run the debugger, the debugger connects to %ntegration *ervice Integration service runs the session and connected wor,flow %t reads the brea#points and pause the debugger when condition evaluates to true -onitor the Debugger& While running the "ebugger we can view the transformation, target and mapping output data, debug log and session log There are few windows we can view target data and transformation data etc$ o o o Debug log& +iew messages from the "ebugger Target window& +iew target data Instance window& +iew transformation data
-odify data and brea,points& We can modify the data when the "ebugger pauses and see the effect on transformations, mappings and targets as data moves through pipeline
.ote& "esigner saves the brea#point information in the wor#space files We can cop' this information and use this in another mapping
/# Privileges Re0uired
There is a set of privileges re,uired to wor# with "ebugger, To create or edit brea,points1 Use Designer privilege with read permission for the folder %uper 2ser privilege
To run the Debugger1 Use Designer and Use Wor,flow !anager privilege with read and e(ecute permission on the folder Use Designer and Wor,flow Operator privilege with read permission on the folder %uper 2ser privilege
To run the Debugger using an Integration %ervice enabled in safe mode1 Admin %ntegration *ervice, Use Designer, and Use Wor,flow !anager privilege with read and e(ecute permission on the folder Admin %ntegration *ervice, Use Designer, and Wor,flow Operator privilege with read permission on the folder %uper 2ser privilege
Wipro Confidential
Wipro Technologies
Creation of *-. commands for reader and /rrors encountered and load summar' *tart
writer threads
/rrors encountered during the session and general information /&ecution of post(session commands .oad summar' of reader, writer, and DTM statistics Integration Service version and build number
The amount of detail in session log file depends on the tracing level that is set at *ession Properties There are different types of tracing levels, they are "# '# +# /# .ormal 3erbose initiali*ation 3erbose data Terse
"# .ormal&
Power center server logs initiali)ation and status %nformation, skipped rows and summari)ation of the success rows and target rows due to transformation errors
%n addition to 0ormal tracing, the session log file contains location of the data cache files and index cache files that are treated and detailed transformation statistics for each and ever' transformation within the mapping
+# 3erbose data&
Wipro Confidential
Wipro Technologies
Wipro Confidential
Wipro Technologies
Advantages&
1inding out the error where e&actl' %ntegration *ervice truncates string data to fit the precision of a column and provides detailed transformation statistics %t writes errors to both Session log and Error log when enable row error logging +erbose initiali)ation and verbose data are used for debugging purpose
Disadvantages&
%t will decrease the performance due to debugging the records on row b' row basis The space consumed b' the cache files is more when compared to other tracing levels
/# Terse&
To
reduce the amount of time spent writing to the session log file; need to
set the tracing level to terse. At this the power center server does
not write /rror !essages or row(level information for Rejected data dvantages!
Disadvantages!
It can not find out properly where e(actly where the record is getting truncated and re4ected
Wipro Confidential
Wipro Technologies
"#" Description
Although Power Center environments var' widel', most sessions and2or mappings can benefit from the implementation of common ob3ects and optimi)ation procedures 1ollow these procedures and rules of thumb when creating mappings to help ensure optimi)ation
/#
6#
7#
9#
Wipro Confidential
Wipro Technologies
;#
Reduce the number of non(essential records that are passed through the entire mapping o Use active transformations that reduce the number of records as earl' in the mapping as possible 9i e , placing filters, aggregators as close to source as possible: o *elect appropriate driving:master table while using 3oins The table with the lesser number of rows should be the driving2master table for a faster 3oin 2tili*e single)pass reads# o Redesign mappings to utili)e one %ource <ualifier to populate multiple targets This wa' the server reads this source onl' once %f 'ou have different %ource <ualifiers for the same source 9e g , one for delete and one for update2insert:, the server reads the source for each *ource -ualifier o Remove or reduce field(level stored procedures %f 'ou use field(level stored procedures, the Power Center server has to ma#e a call to that stored procedure for ever' row, slowing performance
> 7
; ? @
<
1.
Wipro Confidential
Wipro Technologies
< D 48 44 45
4> 47
'#" $verview 4: The first step in performance tuning is to identif' performance bottlenec#s *ession tas# is one of the places where we can encounter the bottlenec# 5: The strateg' is to identif' a performance bottlenec#, eliminate it, and then identif' the ne&t performance bottlenec# until 'ou are satisfied with the performance To tune session performance, 'ou can use the test load option to run sessions
11
Wipro Confidential
Wipro Technologies
'#' Identifying wor,flow bottlenec,s 4: %f 'ou do not have a source, target, or mapping bottlenec#, 'ou ma' have a session bottlenec# 5: To identif' a session bottlenec#, use the performance details The %ntegration *ervice creates performance details when 'ou enable Collect Performance "ata in the Performance settings on the session properties >: *mall cache si*e, low buffer memory, and small commit intervals can cause session bottlenec#s 7: /ncountering deadloc,s can slow session performance +# $ptimi*ing Wor,flow for better performance AsessionB
4 5 > 7 ; ? @ < D
Use a grid to balance the %ntegration *ervice wor#load Aou can run independent sessions and wor#flows concurrentl' to improve session and wor#flow performance Aou can increase the buffer memory allocation for sources and targets that re,uire additional memor' bloc#s %f the %ntegration *ervice cannot allocate enough memor' bloc#s to hold the data, it fails the session *et the optimal location and si*e for the caches Increase the commit interval# /ach time the %ntegration *ervice commits changes to the target, performance slows %ncrease the interval at which the %ntegration *ervice commits changes Disable high precision# Performance slows when the %ntegration *ervice reads and manipulates data with the high precision data t'pe Reduce errors tracing# Reduce the error tracing level, which reduces the number of log events generated b' the %ntegration *ervice Remove staging areas# When 'ou use a staging area, the %ntegration *ervice performs multiple passes on the data Running wor#flows and sessions on the nodes of a grid provides the following performance gains$ balances the %ntegration *ervice wor,load Processes concurrent sessions faster Processes partitions faster
48 When 'ou run a wor#flow on a grid, the %ntegration *ervice loads memor' and CPU resources on nodes without re,uiring coordination between the nodes 44 When 'ou configure the %ntegration *ervice with high availabilit', the %ntegration *ervice recovers wor#flows and sessions that ma' fail because of temporary networ, or machine failures To recover from a wor#flow or session, the %ntegration *ervice writes the states of each wor#flow and session to temporar' files in a shared director' This ma' decrease performance
12
Wipro Confidential