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

Re: How to insert a lot of record

$
0
0

Hi Carlo,

 

if you actually want to just take the 50K INSERT statements and execute them, then there's basically only one way to speed this up:

Set the AUTOCOMMIT mode to FALSE in HANA SQL Studio or hdbsql.

 

(hmm, actually I doubt that you will be able to load and execute such a large SQL text file into the SAP HANA Studio SQL Editor...).

 

Much better performance-wise would be to apply some additional pre-work to the text files and convert them into a plain CSV file.

That way you can easily use the IMPORT command or the IMPORT from frontend feature in SAP HANA Studio.

 

- Lars


Viewing all articles
Browse latest Browse all 8526

Trending Articles



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