Things under legendu
** Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement! **
Knowledge About Spool Space in Teradata¶
Volatile Tables and subqueries are both built in Spool
Causes of No More Spool Issue¶
The main cause of “no more spool space” errors is usually data skew.
Some Potential Solutions¶
Choose a good primary index when creating a data tabel.
Reduce the number of rows and columns you’re working with
Break down a big query into smaller ones.
Use Subqueries to Reduce Joined Rows and Columns
reduce spool with COMPRESS