Efficiently get distinct pair of values from large table with just read access

后端 未结 0 551
梦毁少年i
梦毁少年i 2020-12-09 01:24

We are trying to get the distinct a, b pair of values

select distinct a, b from table

from a table with 2bil+ rows. The query takes 20 minutes.

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