Hi Dieter,
Thanks for the reply. I tried with the above union all . the cost is somewhat reduced. but the problem is in the query i have 2 INNER JOINS with this type of skewed column on single side.
INNER JOIN TABLE A
ON A.COL /*999*/ = B.COL /*UPI*/.
There is only 1 value in B.COL with 999 value and in left COL it is skewed with more values.
Please suggest any solution.
Thanks,
Suresh.
Hi Dieter,
Thanks for the reply. I tried with the above union all . the cost is somewhat reduced. but the problem is in the query i have 2 INNER JOINS with this type of skewed column on single side.
INNER JOIN TABLE A
ON A.COL /*999*/ = B.COL /*UPI*/.
There is only 1 value in B.COL with 999 value and in left COL it is skewed with more values.
Please suggest any solution.
Thanks,
Suresh.