mysql查询统计快与慢
in 技术 with 0 comment 阅读:712次
mysql查询统计快与慢
in 技术 with 0 comment 阅读:712次

1、直接查询数据比较快
SELECT STATUS from table where STATUS='9' limit 10;

2、查询数据慢原因需要将int转换char类型
SELECT STATUS from table where STATUS=9 limit 10;

3、select cont(*) from table 和 select cont(1) from table 那个快呢?

Responses
您是第 325639 位访客