16.20 - Example: Analyzing Exclusions Defined in 'MyExclusions' - 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)

Use this example to analyze exclusions defined in 'MyExclusions' within all logged queries, and to make recommendations for moving them to map 'MyExclusionsMap'.

CALL TDMaps.AnalyzeSP(
   'TDMapList1', 'MyObjects', 'MyExclusions', 
    NULL, NULL, NULL, 'MyObjectssActions', 
   :NumAlters, :NumExcludes, :NumLogEntries);

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

NumAlters		     NumExcludes		NumLogEntries
----------------	-------------		-------------
              10              15                  3054