Quantcast
Channel: SCN : All Content - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6745

How to do UNION if you really needed an Outer Join

$
0
0

I really needed an outer join for my business problem but performance in HANA becomes just too miserable with that.

Attached is the problem definition and solution strategy to get the same with UNION which performs excellent.

 

The Business Need: Quote Performance Information (Quote Success Ratio) using tables such as VBAP, VBAK, ... by anything we could ask for.

 

notes:

1. correct me when I'm wrong or feel free to suggest different

2. We're on HANA SP4

3. we have about 15 million records in VBAP

4. sorry for individual images, didn't figure yet how to create a compliant file type


Viewing all articles
Browse latest Browse all 6745

Trending Articles



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