Query Logging - Advanced SQL Engine - Teradata Database

Security Administration

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
ied1556235912841.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1100
lifecycle
previous
Product Category
Teradata Vantageā„¢

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.