16.10 - Query Logging - Teradata Database

Teradata Database Security Administration

Product
Teradata Database
Release Number
16.10
Release Date
June 2017
Content Type
Administration
Security
Publication ID
B035-1100-161K
Language
English (United States)

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.