If two connections are inserted into the same table at exactly the same time in one ten thousandth of a millisecond or one millionth of a millisecond, can they be inserted into the same table at the same time?
When modifying a data table, can two connections modify the same data table (different rows) at exactly the same time?
某草草2017-05-27 17:41:16
You have to look at the locking mechanismmysql
用的什么引擎了,不同引擎的锁机制是不一样的,现在主流是innodb
,你可以网上看看innodb