Query Logging Privileges in a Zoned System - Analytics Database - Teradata Vantage

Database Administration

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2024-10-04
dita:mapPath
pgf1628096104492.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
ujp1472240543947
lifecycle
latest
Product Category
Teradata Vantageā„¢

Zone-level query logging allows zone DBAs to monitor user queries in their zones. Zone members can enable query logging only on objects within their zones. Query logging privileges are as follows:

User Type BEGIN/REPLACE/SHOW/END Query Logging Allowed
  • User DBC
  • Non-zone user with the ZoneBypass privilege and the EXECUTE privilege on DBC.DBQLAccessMacro
System-level. These users can see and act on zone and non-zone objects.

These users cannot end zone-level logging created by zone users.

Zone user with the EXECUTE privilege on DBC.DBQLAccessMacro Zone level. This user can see and act only on objects in his zone. If this user issues BEGIN QUERY LOGGING ON ALL, only objects in the zone of this user are logged.
Non-zone user with the EXECUTE privilege on DBC.DBQLAccessMacro Non-zone-level. This user can see and act only on non-zone objects.