MySQL 优化 - Count
摘要:
https://mp.weixin.qq.com/s/lbn3w3KTcpwrNiQLkyWYew 由此,最后count的性能从高到低是: count(*) ≈ count(1) > count(id) > count(普通索引列) > count(未加索引列) 所以,其实count(*)是最快的。 阅读全文
posted @ 2022-11-21 18:36 嘉合 阅读(89) 评论(0) 推荐(0)
浙公网安备 33010602011771号