Avoid Deadlocks Using Volatile Tables | Teradata Vantage - Avoid Deadlocks Using Volatile Tables - 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
Volatile tables are only supported on the Block File System on the primary cluster. They are not available for the Object File System.

When you use the CREATE TABLE syntax to directly save the function results, and if multiple such queries are running concurrently, deadlocks may occur due to the locks on the dictionary tables that get updated with the metadata of the new tables.

In this case, you must use VOLATILE tables rather than permanent tables to avoid dictionary locks. You can view the results in the VOLATILE tables and make a separate CREATE TABLE SQL call to store the results in a permanent table.