SQL Language (MOSC)

MOSC Banner

Alternative to DISTINCT / GROUP BY

edited Sep 26, 2015 6:13AM in SQL Language (MOSC) 3 commentsAnswered

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

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center