MySQL Forums
Forum List  »  Performance

Re: Analysis: INSERT ON DUPLICATE UPDATE VS UPDATE
Posted by: Walter Trapa
Date: May 25, 2021 08:22AM

Thanks.

It has to be handled in the APP by sure, that is why I am suggesting to change from INSERT TO ON DUPLICATE to UPDATE ONLY and if FAILS, do INSERT. As our relationship is 90% updates, 10% insert.

Batching will be awesome but that implies to do more changes at the backend level.

Thanks for the analysis.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Analysis: INSERT ON DUPLICATE UPDATE VS UPDATE
124
May 25, 2021 08:22AM


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.