Alternative to DISTINCT / GROUP BY
Hi
I have a custom table comprising of 1 Million records, out of which the count of distinct combinations for 3 columns is 50 thousand.
When I'm trying to use either DISTINCT or GROUP BY to fetch these 50K records, query is taking around one hour.
Can you please suggest, what else can be done to improve query performance??
Thanks in advance,
Bharath