I am running a sql script on mysql 5.7.18 ubuntu server 16.04 that does a large number of updates in one table. Each one of the 50k updates takes under a second but the total run time is very long (>20m).
I can see from PROCESSLIST that only one thread is running and is processing the updates one-by-one.
How can I use multiple threads to speed the execution ?