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:
Comments
Post a Comment