Spool Space Exhaustion for Large Partitions at High Concurrency - Teradata VantageCloud Lake

Lake - Analyze Your Data with ClearScape Analytics™

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2026-02-20
dita:mapPath
tcl1683670667798.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
tcl1683670667798

If a function that operates on partitions (the query has the PARTITION BY KEY syntax in the ON clause, possibly containing the PartitionColumns argument clause), is invoked on data with large partition sizes and high concurrency, the spool space for the database user may be exhausted during partitioning of data and an error is reported.

You can reduce concurrency or decrease partition sizes to resolve the issue. If partition sizes cannot be decreased, run the function on each partition separately using the PARTITION BY ANY syntax, where it is allowed.