$ 0 0 Hi Suresh, a typical solution would duplicate the query, the first with a condition "WHERE col = skewed_value" and the other "WHERE col <> skewed_value" and UNION ALL both selects. Of course the optimizer needs statistics on the join columns. Dieter
Hi Suresh,
a typical solution would duplicate the query, the first with a condition "WHERE col = skewed_value" and the other "WHERE col <> skewed_value" and UNION ALL both selects.
Of course the optimizer needs statistics on the join columns.
Dieter