Professional Documents
Culture Documents
Mike Pataky
Senior Product Specialist
Background
ASCAP raised an SR
The throughput for a custom population running a batch file
developed by Informatica is too slow.
Matching song titles, running batch file to relate a title and the
throughput is extremely slow at 10 000 rows about 2hours.
Plan
Use Relate with the s and ss parameters to get
-s: Histogram of search times
-ss: Individual times for each search (includes s)
100.000
110.000
120.000
130.000
140.000
150.000
160.000
170.000
180.000
190.000
200.000
210.000
220.000
230.000
240.000
250.000
260.000
270.000
280.000
290.000
300.000
310.000
320.000
330.000
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
14
9
13
9
7
9
12
13
11
12
9
12
10
20
13
15
11
8
7
3
3
2
6
5
39.30%
40.20%
41.50%
42.40%
43.10%
44.00%
45.20%
46.50%
47.60%
48.80%
49.70%
50.90%
51.90%
53.90%
55.20%
56.70%
57.80%
58.60%
59.30%
59.60%
59.90%
60.10%
60.70%
61.20%
9910.000 ms
9920.000 ms
9930.000 ms
9940.000 ms
9950.000 ms
9960.000 ms
9970.000 ms
9980.000 ms
9990.000 ms
10000.000 ms
10010.000 ms
10690.000 ms
10700.000 ms
16470.000
17630.000
21480.000
21500.000
21510.000
21530.000
21580.000
21590.000
21600.000
21630.000
21820.000
21860.000
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
ms
0
0
0
0
0
0
0
0
0
0
0
1
1
94.60%
94.60%
94.60%
94.60%
94.60%
94.60%
94.60%
94.60%
94.60%
94.60%
94.60%
94.70%
94.80%
1
1
2
1
1
1
1
1
1
1
1
1
98.80%
98.90%
99.10%
99.20%
99.30%
99.40%
99.50%
99.60%
99.70%
99.80%
99.90%
100.00%
14.60%
26.80%
35.50%
41.10%
46.10%
51.60%
56.00%
59.00%
62.70%
65.60%
67.70%
69.90%
and
Search Call Histogram
0: 167 searches, Total elapsed time: 228.609000 s, Average time (excluding startup): 1368.449 ms,
Total call time: 101.241000 s, Average call time: 605.862 ms
relate> thread
1: 167 searches, Total elapsed time: 228.651000 s, Average time (excluding startup): 1368.593 ms,
Total call time: 44.203000 s, Average call time: 264.120 ms
relate> thread
2: 167 searches, Total elapsed time: 228.667000 s, Average time (excluding startup): 1368.491 ms,
Total call time: 46.533000 s, Average call time: 277.952 ms
relate> thread
3: 167 searches, Total elapsed time: 228.104000 s, Average time (excluding startup): 1364.132 ms,
Total call time: 80.326000 s, Average call time: 479.269 ms
relate> thread
4: 166 searches, Total elapsed time: 228.538000 s, Average time (excluding startup): 1373.675 ms,
Total call time: 52.920000 s, Average call time: 315.741 ms
relate> thread
5: 166 searches, Total elapsed time: 228.155000 s, Average time (excluding startup): 1370.970 ms,
Total call time: 76.140000 s, Average call time: 456.313 ms
relate> Total elapsed time: 230.454000 s in_queue length=100 out_queue length=100 Average elapsed time: 1369.051541 ms
Average call time: 399.876302 ms
relate>
relate>
relate>
relate>
relate>
relate>
relate>
relate>
56.70%
64.20%
68.40%
71.80%
74.40%
76.20%
78.30%
81.40%
2020 recs
0
99.60%
2040 recs
0
99.60%
2060 recs
0
99.60%
2080 recs
4 100.00%
Reads
1000
Writes
100789
End-Time: 2012/02/01 08:42:18
Process-Time: 0:03:51.000
10
Search
^^^^^
Call ??
11
4. Sort by Time1
Search # Time1(ms) Time2(ms)
..
474
21590
21562
497
21623
5
957
21816
83
961
21858
4156
12
Conclusions / Recommendations
Break 10K down into 1K chunks and look for
rogue transactions
Increase Output buffer for Relate
Total elapsed time: 230.454s in_queue length=100 out_queue length=100 Average elapsed time: 1369.051541ms Average call time: 399.876302ms
-n6:100:2000
14
15