133

SELECT COUNT(*)超级慢,讨论一下解决方案

 5 years ago
source link: https://www.v2ex.com/t/454696
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
MySQL - @Aluhao - 使用场景:1、回复表 1 亿多数据,每天增长 1 万+;2、发回复的时候得统计回复用户回复数量;使用的语句:SELECT COUNT(*) FROM `answer` WHERE `u

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK