MySQL.
Output says Elapsed 1.0235471725463867 seconds Thus we are able to achieve 4200 rows insertion per second. However we need to be mindful that we can only increase the thread number till a point where performance improves. Incidentally, we reach a point of diminishing return. It starts to degrade