fastested way to insert 70 milions records from xml to mysql using java -


i have wrote java code parse xml file using jaxb , insert data xml file sql. code insertion different 20 tables based on xml tags. problem code running last 3 days , insert 5 millions record sql data base! in way need wait month finish job.. can give me hint how can make code efficient?

mysql supports 'load data' command , csv format. converting xmls prepared csv , load mysql abilities fastest solution:

how import csv file mysql table


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -