mysql distinct order by 性能问题

whnpneo whnpneo 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
select advlink,count(id) as clickcount,count(distinct ip) as ipcount,count(distinct cookievalue) as cookiecount from advlogs20081228 group by advlink;

advlogs20081228 这个表 80多万数据 执行需要 2分钟

大家看看有没有方法优化
...全文

相关推荐

评论 3
收藏 已收藏
分享
返回顶部
whnpneo
数据库开发 8,027 成员 1,363 内容