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

Spool space error in collect stats - response (2) by dnoeth

$
0
0
As Collect Stats is similar to a "SELECT col, COUNT(*) FROM tab GROUP BY 1 ORDER BY 1;" you might need a lot of spool when it's a large column/multiple columns which are almost unique. You can check the output of HELP STATS to spot it. And if it's a large table with almost unique you can probably switch to SAMPLE stats. 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>