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