Considerations When Logging DBQL Data | Teradata Vantage - Things to Consider When Logging DBQL Data - Advanced SQL Engine - Teradata Database

Database Administration

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
upb1600054424724.ditamap
dita:ditavalPath
upb1600054424724.ditaval
dita:id
B035-1093
lifecycle
previous
Product Category
Teradata Vantageā„¢
  • You must have EXECUTE privilege on the DBC.DBQLAccessMacro macro to log DBQL data. To grant the EXECUTE privilege to an administrative user, see Granting DBQL Administrative Privileges to Other Users.
  • Teradata recommends that you use BTEQ script files to enable DBQL. You can define the rules for logging in these scripts. Just be sure to keep the scripts up to date and saved for future use. You can also create files that disable query logging for your convenience.