17.00 - Example: Modifying User to Add Spool Space Skew Limit - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Advanced SQL Engine
Teradata Database
Release Number
September 2020
Content Type
Programming Reference
Publication ID
English (United States)
Last Update
Assume a system with 4 AMPs and a user with 1 gigabyte of spool space. The per-AMP quota of spool space is 250 megabytes. If you set the spool space skew limit to 20%, any AMP is allowed a skew limit of 50 megabytes over the per-AMP quota of spool space. An AMP can use up to 300 megabytes of spool space as long as total spool space used does not exceed the 1 gigabyte global limit for spool space.
     MODIFY USER user1 AS
       PASSWORD = (EXPIRE = 0), 
       PERM = 1e9
       SPOOL = 1e9 SKEW = 20 PERCENT;