Java multithreaded batch split List import database

1, Foreword Two days ago, we did an import function. The import started very slowly. It took more than one minute to import 2w pieces of data. Later, we optimized it bit by bit, from directly linking the list into Mysql, assigning the list into Mysql, and multi threading the list into Mysql. Time is getting less and less. It was very cool, and ...

Posted by marshdabeachy on Wed, 08 Sep 2021 04:27:50 +0200