About Archiving and Resetting Accumulators and Peak Values - Advanced SQL Engine - Teradata Database

Database Administration

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

Tracking peak and count values can help you monitor the health of your system. When you no longer need old data, you should periodically archive and reset accumulated values.

The following table lists some recommended peak values you should consider purging when no longer needed or when archived.

IF you want to reset … THEN use … For instructions and examples, see …
peak disk space values in DBC.DatabaseSpace DBC.ClearPeakDisk macro Housekeeping on an Ad-Hoc Basis.
accumulators in DBC.Acctg the ClearAccounting macro Clearing Out Values Manually in the DBC.Acctg Table.
count values, AccessCount and LastAccessTimeStamp fields, in:
  • DBC.Dbase
  • DBC.TVM
  • DBC.TVFields
  • DBC.Indexes
one of these macros:
  • ClearAllDatabaseUseCount
  • ClearDatabaseUseCount
  • ClearTVMUseCount
Resetting Use Counts.