15.10 - Example: Setting the Account to Change the Priority for a Request - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K

User B is submitting a series of large data mining queries using the user default account ‘$L0+DMIN&S&D&H’. The user wants to change to an account with a higher priority performance group to run an emergency report for his manager.

SET SESSION ACCOUNT=‘$H0+EMRG&S&D&H’ FOR REQUEST

After running the emergency report, the account reverts to the default for User B, who continues with low priority data mining.

On SLES 10 systems, changing the account string changes the priority (performance group) for the session or request, if the new account specifies a different performance group.

On SLES 11 systems, changing the account string changes the access level for the session or request only if different workload management rules apply to the new account.