Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 4343

Calculation View - Joins

$
0
0

Hi everyone,

 

         There are 5 tables needed coming into a calculation view from 3 Attribute views and all having alias(

and multiple joining conditions) but 5th table has been used twice with different aliases and different

joining conditions. How many joins would I need in a calculation view? I have used 5 joins currently

and I have performance issues.

 

 

Example of tables and joining conditions:

 

 

DATA A

         INNER join ATTR B ON A.ATT=B.ATT

         INNER join PART P ON A.PNUMBER = P.P_NUMBER

         INNER JOIN GRP_ATTR C ON A.ATT= C.ATTR AND P.FAM = C.FAM_GRP_ID

         INNER JOIN DIMEN ENG ON ENG.S_LBL = B.SE_LBL AND ENG.D_LBL = B.ENG_D_LBL

         INNER JOIN DIMEN MET ON MET.S_LBL = B.SE_LBL AND MET.D_LBL = B.MET_D_LBL

 

 

 

 

Note:

Only two tables - PART and DATA contain more than 5 and 30 million records respectively.

 

 

Thanks,

Nidhi Singh.


Viewing all articles
Browse latest Browse all 4343

Trending Articles



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