Purpose of System Accounting - Teradata VantageCloud Lake

Lake - Database Reference

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
ohi1683672393549.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
ohi1683672393549
An account for a user can contain multiple account strings. Historically, you used an account for many purposes within a Teradata system. In VantageCloud Lake, the account is simplified, and is used for only two purposes:
  • Priority
  • User-defined Metadata

Priority

VantageCloud Lake pre-defines a set of default workloads, each with its own priority level. In VantageCloud Lake, the system automatically assigns all active queries that do not have an explicit workload to a workload based on their query characteristics. You can override this automatic workload (and priority) assignment by specifying one of the default workloads in a user’s account string. Assign specific users to one of the five non-automatic priorities based on account strings to manage priorities effectively.

If an account string includes a valid workload classification representation (such as $L or $H), all queries submitted by that user will run under the priority associated with that account string.

See, Managing Your Workloads for more information on default workloads and how they are expressed within account strings.

User-defined Metadata

You can also use the account string to contain metadata associated with the user, in addition to overriding the automatically assigned workload. The account field is defined as 128 characters, and you can use any combination of text in this field. In this manner, the account string can be useful for reporting and analyzing users.

Following are examples of account string contents:
User Name Account String Comment
AcctsRecv   The account string is set to NULL.
AcctsPay $H The account string overrides the default workload and assigns a workload of ‘H-WD’.
AcctsAudit Finance The account string contains a literal indicating that this UserName is associated with the Finance department.
AcctsGL $TAFinance The account string overrides the default workload and assigns a workload of ‘Tactical-WD’ and contains a literal indicating that this UserName is associated with the Finance department.