In a mysql table, is it possible to insert data into multiple connections at the same time?
我想大声告诉你
我想大声告诉你 2017-05-27 17:39:16
0
2
976

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?

我想大声告诉你
我想大声告诉你

reply all(2)
某草草

You have to look at the locking mechanismmysql用的什么引擎了,不同引擎的锁机制是不一样的,现在主流是innodb,你可以网上看看innodb

过去多啦不再A梦

Of course you can, otherwise why would you need to lock it

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!