16.20 - Example: Using PostExpansionAction - 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 the following example, the newly expanded system has four nodes and the contiguous map name is TD_Map1000.

CALL TDMaps.PostExpansionAction(4, 'TD_Map1000');
Result:
*** Procedure has been executed.
*** Total elapsed time was 1 second.
The procedure substituted the planned maps created by the CreateExpansionMaps procedure with the actual maps in the Advisor procedures, as follows:
  • TD_Map1000 replaces PreExpansionMap_ContiguousMap_4Nodes
  • TD_1AmpSparseMap_4Nodes replaces PreExpansionMap_1AmpSparseMap_4Nodes
  • TD_4AmpsSparseMap_4Nodes replaces PreExpansionMap_4AmpsSparseMap_4Nodes