Hacker News new | past | comments | ask | show | jobs | submit login

Deadlocks have little to do with queries and everything to do with transactions. They happen for a very good reason and never happen "randomly".

I assume you are using the innodb storage engine: http://dev.mysql.com/doc/refman/5.7/en/innodb-deadlocks.html




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: