Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Why the Optimiser does not run these STATS in parallel ? - response (1) by dnoeth

$
0
0

Only OLAP functions with the same PARTITON/ORDER BY can be calculated in a single step and your ROW_NUMBERs got the same ORDER BY (which is just a dummy order, btw), but different PARTTION.
It's similar to multiple COUNT(DISTINCT), which are easy to write, but really hard to calculate.
 
Dieter
 
 


Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>