Example: Logging Requests on All Users for the Default Table - Analytics Database - Teradata Vantage

SQL Data Definition Language Syntax and Examples

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-10-04
dita:mapPath
jco1628111346878.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
mdr1472255012272
lifecycle
latest
Product Category
Teradata Vantage™

To monitor the usage of myuser in more detail, add another rule for myuser that logs STEPINFO and OBJECTS.

These requests create query logging rules on all users in the default table and specific logging of steps and database objects for myuser:

     BEGIN QUERY LOGGING ON ALL;
     BEGIN QUERY LOGGING WITH STEPINFO, OBJECTS ON myuser;