17.10 - Query Banding for Pooled Sessions - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

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

In a pooled session, the middle-tier application logs on to Vantage as a database user and establishes a connection pool. The application has a single set of database privileges. All application end users assume the identity and database privileges of the application.

You can use query banding to:
  • Identify end users, who otherwise all appear to Vantage as the application user.
  • Record resource accounting information, such as job number, application, or report type.
  • Determine session or request level access priority, by using the query bands as workload management rule criteria.