Hi,
We want to migrate from BODS 3.2 to SAP DS 4.2 and one specific DF is running >5 hours SAP DS 4.2 and 1 hour in BODS 3.2.
The DF is complicated.
DOP = 4
reads 200 mln rows, performs distinct/order by (via DT to enable pushdown) and a filter which results in 27 mln rows.
The 27 mln rows are used as source to perform a lookup_ext on a table of 29 mln row. The outer_join results in more records, so the lkp function is using the max logic as well. This lookup_ext runs as a separate process.
In BODS3.2, because of the DOP 4, the order_by/distinct rows are spilt into 4 threads and 4 al_engines is performing the heavy lookup. The CPU en Mem (including pcache) is optimal utilized and the work is done within 1 hour. The IPCSource/Target for the distinct_order_by is shown in the log.
– BODS3.2 behavior DOP 4 - split and used in lookup_ext
IPCSource1_q_distinct_rows-OrderBy1 STOP 49566328
Round_Robin_Split STOP 49566328
q_distinct_rows-OrderBy1 STOP 12391600
q_distinct_rows-OrderBy15 STOP 12391600
q_distinct_rows-OrderBy16 STOP 12391600
q_distinct_rows-OrderBy17 STOP 12391528
IPCTarget1_q_distinct_rows-OrderBy1 STOP 49566328
In SAP DS 4.2 the distinct/order by is not generating the IPCSource/Target.
So it has decided a different optimization which is causing chaos on the server. The CPU is not utilized (only iowaits). There is only 1 al_engine active which is consuming 20% of CPU. This job runs forever, no progress and only iowaits.
– SAP DS 4.2 behavior DOP 4 - split but no IPCSource/Target !!!
q_distinct_rows STOP 49566328
Round_Robin_Split STOP 49566328
q_distinct_rows-OrderBy1 STOP 12391600
q_distinct_rows-OrderBy15 STOP 12391600
q_distinct_rows-OrderBy16 STOP 12391600
q_distinct_rows-OrderBy17 STOP 12391528
OS: linux 32 GB 4 CPU
SAP DS 4.2 SP02 P1
Database: Oracle 11g exadata.
Does anyone has else experienced problems with DOP in relation to lookup_ext using large lookup tables in SAP DS 4.2?
We cannot upgrade if this problem is not resolved and after investigating this issue for a week now, I cannot find a solution…
Gr.
Marcel
mtelling (BOB member since 2006-06-23)