You can automate the maintenance of Data Dictionary log tables using Performance Data Collection and Reporting (PDCR) history tables. To set up log maintenance, do the following things:
- Run the DIP script DIPPDCR.This creates PDCR history tables and the data extraction macros that populate the tables. It is not part of DIPALL.
- Use the Teradata Viewpoint portlet Performance Data Collection to set up the necessary jobs and schedule them to run them every day.These jobs move data from the Data Dictionary log tables you specify to the history tables created by DIPPDCR. You can also use the portlet to specify how long the history tables are retained. Depending on the space allocated, you can keep these history tables for months or years. Large systems typically retain data in Data Dictionary log tables for a week or less.