Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Agenda
Log Reading and Performance Tuning
#1 Interpret the Session Log #2 Tweak Session Properties #3 Use Partitioning #4 Consolidate Multiple Lookups #5 Use Server Grids
Agenda
#6 Use Expression Variables #7 Use Changed-Data Capture #8 Server Variables #9 Reduce Failures #10 Use Performance Counters
TRANSF_1_1_1_1> DBG_21294 Lookup cache creation completed : (Thu Feb 05 16:35:41 2004)
Busy percentages can identify potential bottlenecks Adjust your mappings to level out the bottlenecks Here the transformation is of bottleneckconsider partitioning Dont need 100% utilization, but should be high and close together
Keep your sessions running error free. Anticipate errors and write mappings that will handle these errors in the appropriate method. Each error that occurs will cause the session to run slower.
11
12
14
FILTRANS
EXP_RPT
AGG_RPT
Threads are created to move data down the pipeline The data is moved in pipeline stages defined by partition points By default PowerCenter assigns a partition point Source Qualifier, Target, Aggregator, and Rank Transformations
15
at the
Terminology in action
Pipeline
Thread 1
Thread 2
Thread 3
16
17
18
Re/Partition Point
Create Partition Point
Pipeline
PP
Thread 1
Thread 2
Thread 3
19
Re/Partition Points
Pipeline
PP
Thread 1
Thread 2
Thread 3
20
Re/Partition Points
Pipeline
PP
Thread 1
Thread 2
Thread 4
21
Re/Partition Points
Pipeline
PP
Thread 1
Thread 2
Thread 3
Thread 4
22
23
24
25
26
Thread 1 Thread 2
Thread 3
Thread 4
Thread 5
27
Thread 3 Thread 8
Thread 4 Thread 9
Thread 5 Thread 10
28
Partition 2
Thread 1 Thread 2 Thread 3
PP
PP
PP
Thread 4
PP
Thread 5
Thread 6 Thread 7
Thread 8
Thread 9
Thread 10
29
PP
PP
Thread 1 Thread 2
Partition 2
Thread 3
Thread 4
Thread 5
PP
PP
Thread 6 Thread 7
30
Thread 8
Thread 9
Thread 10
PP
PP
Thread 1 Thread 2
Thread 3
Thread 4
Thread 5
Partition 2
PP
PP
31
Thread 6 Thread 7
Thread 8
Thread 9
Thread 10
32
33
FILTRANS
EXP_RPT
AGG_RPT
Adding partitions increases the number of threads Adding partition points increases the number of pipeline stages
34
35
36
37
38
39
40
Leave the start range blank or the end range blank to force a < or >.
41
42
43
44
Reader
Transformation
Transformation
Writer
Reader
Transformation
Transformation
Transformation
Writer
Adding an additional partition point may increase session performance by adding additional threads
45
46
47
48
49
50
51
Repository
52
Session4
Session6
Repository
53
54
var_RUNNING_TOTAL + SALES_REVENUE
55
56
Pros Only bring in affected records Minimal impact to mappings Restart or resetting dates possible
57
Cons Overhead on source system CRC function will slow mappings slightly
58
59
60
61
$PMRootDir $PMSessionLogDir $PMBadFileDir $PMCacheDir $PMTargetFileDir $PMSourceFileDir $PMExtProcDir $PMTempDir $PMSuccessEmailUser $PMFailureEmailUser
62
$PMSessionLogCount $PMSessionErrorThreshold
$PMWorkflowLogDir
$PMWorkflowLogCount $PMLookupFileDir
Number of workflow logs the PowerCenter Server archives for the workflow. Defaults to 0. Default directory for lookup files. Defaults to $PMRootDir/LkpFiles.
63
64
65
66
67
68
69
70