- 论坛徽章:
- 0
|
owenhappy 发表于 2013-05-14 07:58 ![]()
用的是MYISAM呀,,,官方报价说是 表锁呀。。。
http://dev.mysql.com/doc/refman/5.6/en/internal-locking.html
The MyISAM storage engine supports concurrent inserts to reduce contention between readers and writers for a given table: If a MyISAM table has no free blocks in the middle of the data file, rows are always inserted at the end of the data file. In this case, you can freely mix concurrent INSERT and SELECT statements for a MyISAM table without locks. That is, you can insert rows into a MyISAM table at the same time other clients are reading from it.
|
|