Enable Step Logging | Teradata Vantage - 17.00 - 17.05 - Enabling Step Logging To Aid in Map Analysis - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - Database Administration

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
17.05
Published
June 2020
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
rgu1556127906220.ditamap
dita:ditavalPath
lze1555437562152.ditaval

Before analyzing how tables use maps, you can optionally enable DBQL step logging. The information step logging collects helps Teradata decide which tables to keep together for join processing efficiency when redistributing tables. For example:

BEGIN QUERY LOGGING WITH STEPINFO ON ALL;

Teradata recommends leaving logging on for 7 days to capture a set of queries that are representative of the workload on your system.

If there is no step logging, Teradata groups tables by database when redistributing them.