insert一条语句居然需要60毫秒,如何优化?
mysql> insert into test_ms (name) values ('haha');Query OK, 1 row affected (0.06 sec)
mysql>
mysql> select * from test_ms;
+------+
| name |
+------+
| haha |
+------+
1 row in set (0.00 sec)
为什么插入一条记录需要这么久的时间?能不能详细查看具体执行了什么操作?通过profile也定位不了。
页:
[1]