Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8594

Re: Performance Issue while Joining two Big Tables

$
0
0

Hi Lars,

Couple of points on when the performance taking a hit.

We've a Delivery Analytical View with joins between LIPS(Delivery Item) to VBPA(Partner) which is joined on LIPS~VGBEL = VBPA~VBELN and LIPS~VGPOS = VBPA~POSNR.

 

Data Volume:

a. LIPS = 23 million

b. VBPA = 130 million

 

QUERY:

Now when i run the following Query:

Select WERKS, SUM(ZAN_CM10_TOT_DEL_QTY_CASE_ZORDDEL)

FROM "_SYS_BIC"."Reconciliation/TESTZSD_AN_DELIVERY_ITEMS"

group by WERKS

 

I get the result in 300-400 ms.

 

Now I'm interested in only 1 partner function i.e. 'ZR' and hence I did a filtering on VBPA such that PARVW = 'ZR' .( There are only 40 million records with PARVW = ZR).

 

Now when i run the above query, I get the result in 15-17 sec.

 

Let me know how to send you the PlanViz file.

 

Thanks & regards,

Jomy


Viewing all articles
Browse latest Browse all 8594

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>