16.20 - Example: Analyzing Objects Defined in 'MyObjects' - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Operators and User-Defined Functions

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Release Date
April 2020
Content Type
Administration
Programming Reference
Publication ID
B035-1210-162K
Language
English (United States)

In this example, analyze objects defined in 'MyObjects' within all logged queries and make recommendations for moving those objects to the map 'MyObjectsMapList'.

CALL TDMaps.AnalyzeSP(
   'MyObjectsMapList', 'MyObjects', NULL,
   NULL, NULL, NULL, 'MyObjectsActions', 
  :NumAlters, :NumExcludes, :NumLogEntries);

Procedure has been executed.
*** Total elapsed time was 20 minutes and 10 seconds.

NumAlters		   NumExcludes		 NumLogEntries
----------------	----------------	-------------
              15               1                 3054