Methods for Minimizing Log Table Size | Teradata Vantage - 17.00 - 17.05 - Methods for Minimizing Log Table Size - 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

There are several ways you can minimize the size of your DBQL log tables and therefore avoid running out of disk space in DBC:

  • Add a date column to avoid multiple casting of the time columns.
  • Use MVC on the columns of the copies of DBQL tables.
  • Log only the data you need. For example, if default data in DBQLogTbl is sufficient, do not log WITH SQL or WITH OBJECTS as well.
  • Limit summary logging to just the accounts you want to track.
  • Limit SQL text logging to a specific number of characters.
  • Remember to end logging whenever logging data is no longer needed for a specific user, group of users, account, list of accounts, or applications.