17.10 - Example: Using PostExpansionAction - 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 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