16.20 - Query Banding for Pooled Sessions - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Syntax and Examples

Teradata Database
Teradata Vantage NewSQL Engine
Release Number
March 2019
Content Type
Programming Reference
Publication ID
English (United States)
Last Update

In a pooled session, the middle-tier application logs on to Teradata Database 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 Teradata Database 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.