17.10 - Query Logging - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - Advanced SQL Engine Security Administration

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2022-02-15
dita:mapPath
ppz1593203596223.ditamap
dita:ditavalPath
wrg1590696035526.ditaval
dita:id
zuy1472246340572

Users with EXECUTE privilege on DBQLAccessMacro can begin and end query logging. The following table summarizes query logging in Teradata Secure Zones:

User and Privileges Logging Scope
Zone users with EXECUTE privilege on DBQLAccessMacro Can begin and end query logging on objects in their zone. They cannot begin and end query logging on objects outside of their zone.

When they SHOW LOGGING, they can see only rules created by zone users.

They cannot end system-level logging rules created by users with system-level logging privileges.

The DBC user Can begin and end query logging on all objects on the system, regardless of zones. When they SHOW LOGGING, they can see all rules.
Non-zone users (including zone guests) with the ZONE OVERRIDE privilege and with EXECUTE privilege on DBQLAccessMacro Can begin and end query logging on all objects on the system, regardless of zones.

When they SHOW LOGGING, they can see all rules.

Non-zone users (excluding DBC) with DBQLAccessLog privilege but without ZONE OVERRIDE privilege Can begin and end query logging on objects that are not in a zone.

When they SHOW LOGGING, they can see only rules created by non-zone users.