About Archiving and Resetting Accumulators and Peak Values - 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

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.