16.20 - Logging Frequency - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Language
English (United States)
Last Update
2019-05-24
dita:mapPath
wkf1512081455740.ditamap
dita:ditavalPath
TD_DBS_16_20_Update1.ditaval

The frequency with which to log events.

A log entry is made for either the first, the last, the first and last, or each time during any session that the specified action is attempted against the specified object.

If logging is already initiated for an action on an object, a subsequent request to begin logging for the same object, action, user, and DENIALS specification causes only the current frequency of logging to be changed to whatever the new request specifies.

FIRST
A log entry is made the first time during any session that the specified action is attempted against the specified object.
The default is FIRST.
LAST
A log entry is made the last time during any session that the specified action is attempted against the specified object.
FIRST AND LAST
A log entry is made the first and last time during any session that the specified action is attempted against the specified object.
The only valid combination of logging frequencies is FIRST AND LAST.
EACH
A log entry is made each time during any session that the specified action is attempted against the specified object.
The only valid options for auditing row-level security enforcement are FIRST and EACH.