Example: Using DBQLRulesV - Advanced SQL Engine - Teradata Database

Data Dictionary

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
June 2020
Language
English (United States)
Last Update
2020-10-15
dita:mapPath
yoz1556235523563.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1092
lifecycle
previous
Product Category
Teradata Vantageā„¢

The following SELECT statement retrieves the rules in effect for users:

SELECT * from DBC.DBQLRulesV;

Result:

       UserName  All
        Account
ApplicationName
     TypeOfRule  Logging enabled
        Explain  F
         Object  F
            SQL  F
           Step  T
        XMLPlan  F
     StatsUsage  F
        Verbose  F
  DetailedStats  F
      NoColumns  F
        Summary  F
      Threshold  F
    ObjectUsage  F
          Param  F
   FeatureUsage  T
    UtilityInfo  F
       TextSize             200
   Summary//Low        ?
            Med        ?
           High        ?
      LockDelay               0
        AlgMode     ?
TypeOfCriterion  NO CRITERION
     DetailDiag               ?
This rule was initiated as:
replace query logging with stepinfo, featureinfo on all;

The statement enables STEP and Feature Usage logging.