Considerations for Populating an Unpopulated Queue Table in a Delayed State - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Detailed Topics

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
imq1591724555718.ditamap
dita:ditavalPath
imq1591724555718.ditaval
dita:id
B035-1184
lifecycle
previous
Product Category
Teradata Vantage™

One or more sessions could be in a delayed state waiting for rows to be inserted at the time you populate an unpopulated queue table. Without regard to fairness, Vantage reinstates 1 or more of those delayed sessions, up to the number of rows inserted into the table, to enable them to continue their consume mode requests.

Session Mode Use the following after any INSERT statements to make those rows visible to any delayed sessions
ANSI COMMIT
Teradata
  • SEMICOLON character (implicit transaction)
  • END TRANSACTION statement terminated with a SEMICOLON character (explicit transaction)