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

Teradata Vantage™ - SQL Data Definition Language Detailed Topics

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1184-171K
Language
English (United States)

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)