Archives of the TeradataForum
Message Posted: Wed, 11 Jan 2006 @ 20:47:29 GMT
| Subj: || || Re: OLAP Function & MAX |
| From: || || Ballinger, Carrie |
This may not match your situation, but if this is a GROUP BY that happens to be on the table's NUPI (no redistribution required for the
aggregation), you'll get the benefit of a single-AMP plan for the query if you use the aggregate function. OLAP functions, even when they only
involve the rows of a single NUPI value, will always cause all-AMP plans to be generated. If you were to perform a large numbers of such queries,
the aggregate function is likely to provide better scalability and throughput.