Re: Union all very slow.

Randy,

I'd start by doing an EXPLAIN PLAN on each part and the whole thing. You
didn't mention your Oracle version, but maybe the CBO is getting smart
enough to optimize the entire query, so is making a bad decision.

Dennis Williams

Other related posts: