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

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Advanced SQL Engine
Teradata Database
Release Number
January 2021
Content Type
Programming Reference
Publication ID
English (United States)
Last Update

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.