MySQL:count(*),count(1),count(col)效率比较

    count(1)效率高于count(*)这个理论之前就直接印在脑子里,以前作了一个百万数据插入MySQL的测试,想着有这么多数据,就粗略地测试一下。html   结果:count(img) > count(del_flag) > count(name) > count(id) > count(1)=count(*) > count(status)=count(start_time) img
相关文章
相关标签/搜索