16.20 - Considerations for Populating an Unpopulated Queue Table in a Delayed State - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Detailed Topics

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1184-162K
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, 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)