I want a mysql statement that will insert or update but using the low priority or delayed. This doesn’t seem to be working
INSERT DELAYED INTO lastaccess
(x, y, timeaccess)
VALUES (2, 4, 1309622646)
ON DUPLICATE KEY UPDATE LOW_PRIORITY timeaccess = 1309622646
Your problem here is the "ON DUPLICATE KEY UPDATE" statement. This does not work with the
INSERT DELAYEDstatement, as per the documentation: