16.20 - 16.50 - Automating Statistics - Teradata Viewpoint - Teradata Workload Management

Teradata® Viewpoint User Guide

Product
Teradata Viewpoint
Teradata Workload Management
Release Number
16.20
16.50
Release Date
July 2021
Content Type
User Guide
Publication ID
B035-2206-071K
Language
English (United States)
When automated, statistics are approved for collection by collect jobs. You can automate existing statistics using an analyze job or you can manually automate statistics as described below.
  1. From the Statistics tab, do any of the following:
    Scope Description
    System To automate all statistics within a Teradata Database system:
    • From the Statistics by Database view, click Actions > Automate System.
    Database To automate all statistics within a single database, do one of the following:
    • From the Statistics by Object view, click Actions > Automate Database.
    • From the Statistics by Database view, click next to the database name and click Automate.
    To automate all statistics within multiple databases:
    1. From the Statistics by Database view, click the Table Actions list and click Automate.
    2. Do one of the following:
      • Select the check box in the column heading to select all databases.
      • Select the check boxes for specific databases.
    Object To automate all statistics for a single object, do one of the following:
    • From the Statistics view, click Actions > Automate <object type>.
    • From the Statistics by Object view, click next to the database name and click Automate.
    To automate all statistics for multiple objects:
    1. From the Statistics by Object view, click the Table Actions list and click Automate.
    2. Do one of the following:
      • Select the check box in the column heading to select all objects.
      • Select the check boxes for specific objects.
    Statistic To automate a single statistic, do one of the following:
    • From the Statistics view, click next to the database name and click Automate.
    • From the Statistic Details view, click Actions > Automate Statistic.
    To automate multiple statistics for the same object:
    1. From the Statistics view, click the Table Actions list and click Automate.
    2. Do one of the following:
      • Select the check box in the column heading to select all statistics.
      • Select the check boxes for specific statistics.