Recursion will blow up spool and i'm not shure if it's possible at all in this case.
The only way to help this query would be a PI on the columns in GROUP BY to get an AMP-local aggregation. Still lots of CPU, but there should be no redistribution and no spool issue anymore.
Dieter
Recursion will blow up spool and i'm not shure if it's possible at all in this case.
The only way to help this query would be a PI on the columns in GROUP BY to get an AMP-local aggregation. Still lots of CPU, but there should be no redistribution and no spool issue anymore.
Dieter