摘要:
# MyIsam 和 innodb 均可以加表锁 ## 加读锁 LOCK TABLES `table_name` READ; * 阻塞其他进程(会话)的写操作,不阻塞其他进程的读操作 ## 加写锁 LOCK TABLES `table_name` WRITE; * 阻塞其他进程(会话)的写操作和读操 阅读全文
posted @ 2020-03-06 23:24
斜月三星一太阳
阅读(878)
评论(0)
推荐(0)
浙公网安备 33010602011771号