Welcome Guest, Not a member yet? Register   Sign In
Do you ever use "ON DUPLICATE KEY UPDATE"? (MySQL)
#3

If you take a look at actual benchmark data, like this for example:

https://www.facebook.com/notes/mysql-at-...006035932/

Then the performance issue seems pretty benign. Consider the link that shows an image of the results in a graph.

I'm not saying there is no performance issue, but given the limited use case where it is not know if a record exists, then it's probably nothing to worry about. I found myself needing this recently.
Reply


Messages In This Thread
RE: Do you ever use "ON DUPLICATE KEY UPDATE"? (MySQL) - by skunkbad - 09-05-2016, 02:48 PM



Theme © iAndrew 2016 - Forum software by © MyBB