17.10 - 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
17.10
Release Date
July 2021
Content Type
Administration
Programming Reference
Publication ID
B035-1210-171K
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