Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL事务与锁-2 #61

Open
yourtion opened this issue Apr 30, 2018 · 0 comments
Open

MySQL事务与锁-2 #61

yourtion opened this issue Apr 30, 2018 · 0 comments

Comments

@yourtion
Copy link
Owner

死锁都是由加锁顺序不一致导致的,最常见的update死锁,insert也能造成死锁,有兴趣的可以自行了解 事务加锁范围不宜过大,如果比较大,业务上能分割的尽量分割。



Tags:



via Pocket https://ift.tt/2r5i2o6



May 01, 2018 at 12:40AM

@yourtion yourtion added this to the ReadingList2017 milestone Apr 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant