MySQL Forums
Forum List  »  Performance

Re: mysql inserting performance is slow
Posted by: Benoit St-Jean
Date: May 05, 2017 12:05AM

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.

Options: ReplyQuote

Written By
Re: mysql inserting performance is slow
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.