Methods for Minimizing Log Table Size | Teradata Vantage - Methods for Minimizing Log Table Size - Analytics Database - Teradata Vantage

Database Administration

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2024-10-04
dita:mapPath
pgf1628096104492.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
ujp1472240543947
lifecycle
latest
Product Category
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.