MySQL笔记(三)——索引与优化相关

概述 例子:模拟100个用户同时对一个拥有100万行数据的表进行2000次查询,对比无索引和有索引的耗时情况。 mysqlslap --defaults-file=/etc/my.cnf --concurrency=100 --iterations=1 --create-schema='test' --query="select * from test.t100w where k2='MN89'"
相关文章
相关标签/搜索