Methods for Minimizing Log Table Size - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ - Database Administration

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Language
English (United States)
Last Update
2019-05-03
dita:mapPath
tgx1512080410608.ditamap
dita:ditavalPath
TD_DBS_16_20_Update1.ditaval
dita:id
ujp1472240543947
Product Category
Software
Teradata Vantage

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.