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

Re: Auto commit for inserts

$
0
0

Hi Patrick,

 

You can use the following commands to do it.

 

alter table <Table NAME> disable automerge before the start of the procedure.

 

Procedure ...

Exec ('COMMIT');

merge delta of <TABLE NAME> in the procedure

 

After Job is completed

alter table <Table NAME> enable automerge

 

merge delta of <TABLE NAME>

 

 

This process helped us in not increasing the Delta memory as well committed the data to the table.

 

Note :

LARS do not bash me for this recommendation. HANA is great for reads but when it comes to writing using procedures is pretty bad as we need to deal with single threaded process and high memory consumption before the writes are completed. I hope you can come with a better white paper about it.

 

 

Regards

PK


Viewing all articles
Browse latest Browse all 8968

Trending Articles



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