mysql 'select distinct' times out over millions of records

后端 未结 0 1712
隐瞒了意图╮
隐瞒了意图╮ 2021-01-24 08:13

I have a MySQL "products" table with 20M+ records, I need to select distinct the "maincategory" field which shouldn\'t return more than 100-200 results.. but

相关标签:
回答
  • 消灭零回复
提交回复
热议问题