Example: Report DBQL Rule that Logs All Queries for MultiLoad Utility - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

Search for a DBQL rule that logs all queries for the MultiLoad application.

     SHOW QUERY LOGGING ON APPLNAME = 'multload';

The system finds a possible match at level 1 of the rules hierarchy and determines that the best fit is that rule, which excludes logging for all users, but logs queries for the MultiLoad application, and returns the DBC.DBQRules row for Rule 6, as follows.

Rule UserName             “ALL”
Rule UserId               00000000
Account                   (Rule for any Account)
ApplicationName            MULTLOAD
WITH NONE (No DBQL Logging)