Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

Delta loading between two HANA tables

$
0
0

Hi All,

 

I have two tables, both have same table definition

1) Full_Target_Table

2)Delta_Target_Table

 

Delta table will be truncated and loaded with daily data.

 

My requirement is to load the Full_Target_Table (Insert/Update) using the delta table. Need to update if any records with same natural key exists or insert  if didn't exits in the Full_Target_Table.

 

I am thinking of stored procedure to loop through the delta table records one by one  and upsert/replace in the Full_Target_Table

 

As the tables are really huge(both delta and full), looping through each record in delta table could be intensive operation.

 

Is there any other way? Any suggestion to improve the performance ?

 

Thank you !!


Viewing all articles
Browse latest Browse all 5653

Trending Articles



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