Re: mysql inserting performance is slow
I did not see any transaction code in your example. It means every INSERT is done in it's own transaction, which is slow. Besides, performance is always related to the server you have. Have you measured against other RDBMS to see what you should expect performance-wise? Did you configure your server properly? What are you trying to test/measure exactly?
Try wrapping these 1000 INSERTs into a single transaction : it should be faster.
Subject
Views
Written By
Posted
1489
May 03, 2017 09:08PM
Re: mysql inserting performance is slow
686
May 05, 2017 12:05AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.