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.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-24
dita:mapPath
jpx1556733107962.ditamap
dita:ditavalPath
lze1555437562152.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, Teradata Database 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)