84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
mysql 数据库有一个表,tables_s,本地客户端A连接此数据库后,设置全局变量concurrent_insert =2,并且对tables_s加并发共享读锁lock table tables_s read local;另外打开一个客户端B,按理说执行insert into ......操作时,应该能成功呀,怎么B客户端会进入等待状态,不执行插入语句?求指教,可能我本身理解c错了。
欢迎选择我的课程,让我们一起见证您的进步~~
Myisam is a table-level lock, change it to innodb. Or other engines, innodb is transaction based and can roll back row-level locks.
I don’t even understand the locking mechanism of mysiam, brother
Myisam is a table-level lock, change it to innodb. Or other engines, innodb is transaction based and can roll back row-level locks.
I don’t even understand the locking mechanism of mysiam, brother