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