Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Viewing all articles
Browse latest Browse all 884

MySQL 5.7 Batch processing DeadLock (no replies)

$
0
0
I developed a application which is importing lots of data from CSV files into several tables. To increase performance i ended up with a multi-threaded solution and batch transactions.
In a usual scenario there are 50 threads pushing 500 entries into the database.

Everything perfect until MySQL 5.7 ;(

After installing the latest version of MySQL, the application is not working anymore. Deadlock exceptions are thrown, and data is only partly imported, with the note to restart the transaction.

Can't find any help on the net nor specification, what changes affected this? How to fix this?

Help appreciated!

Viewing all articles
Browse latest Browse all 884

Trending Articles



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