WorkloadQueries - Analytics Database - Teradata Vantage

SQL Request and Transaction Processing

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-10-04
dita:mapPath
zfm1628111633230.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
evd1472255317510
lifecycle
latest
Product Category
Teradata Vantage™

Function of WorkloadQueries

Captures the queries that belong to the workload named by WorkloadID.

WorkloadQueries Table Definition

The following CREATE TABLE request defines the WorkloadQueries table:

CREATE TABLE WorkloadQueries(
  WorkloadID           INTEGER NOT NULL,
  QueryID              INTEGER NOT NULL,
  Frequency            INTEGER NOT NULL)
PRIMARY INDEX(WorkLoadID)
UNIQUE INDEX(WorkloadID, QueryID);

Attribute Definitions for WorkloadQueries

The following table defines the WorkloadQueries table attributes:

Attribute Definition
WorkloadID
  • The workload ID that identifies the data in the row.
  • NUPI for the table.
  • One half of the USI column set for the table.
QueryID
  • Unique qualifier for a query. Used to map query to workload.
  • One half of the USI column set for the table.
Frequency Indicates the number of times the query is typically performed in the workload.