Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Dynamic Update

$
0
0
I have a file which has 150000 update statements. what is the best way to execute it considering the performance and other factors in mind.

I tried Execute Sql Script which is pretty slow. for 30000 records it took 75 mins.

Sample as below

update table1 set f1='n',f2='Harris',f3='Newyork' where id='ID1';
update table1 set f2='n',f3='US',f4='Newyork' where id='ID2';
update table1 set f1='n',f3='23456',f6='atlanta' where id='ID3';
update table1 set f3='n',f6='citizen',f10='florida' where id='ID4';
.
.
.
Please advise.

Viewing all articles
Browse latest Browse all 16689

Trending Articles



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