@nqounetã§ãã mysqlã§éç¨ãã¦ãããµã¼ãã¹ã§ã1æ¥ã«2,3åã»ã©Deadlockã«ãã£ã¦ã¨ã©ã¼ãçºçããã¨ããåé¡ãããã¾ããã ãã®åé¡ã解決ããã®ã§ã¡ã¢ãæ®ãã¦ããã¾ãã æåã«ã¾ã¨ã mysqlã®InnoDBã§deleteããã®ã¯ãåé¤å¯¾è±¡ã®ã¬ã³ã¼ããããå ´åã®ã¿ã«ããå¿ è¦ãããã deleteæã«å¯¾è±¡ã¬ã³ã¼ãããªãå ´åãã®ã£ããããã¯ããããinsertãéããªããªãã å®è£ ã®ã¡ãã£ã¨ããææããé ãæ©ã¾ããã¨ããè¯ãï¼æªãï¼ï¼ä¾ã«ãªã£ãã åè ãMySQLãInnoDBã®ããã¯é¢é£ã¾ã¨ã - Qiita ã¾ããã£ãå®è£ ã¢ãã«ã±ã¼ã¹ã¨ãã¦ã¯updateãdelete->insertã«ãã¦ããæãã®é¨åã ã¤ã¡ã¼ã¸ã¯ãããªæãã æ¸ãè¾¼ãè¡æ°ãå¤ããå ´åãããã®ã§æ¯ådeleteãã¦ããinsertãã¦ããã æåã¯insertã¨updateï¼delete->ins
{{#tags}}- {{label}}
{{/tags}}