Example: Using PostExpansionAction - Advanced SQL Engine - Teradata Database

SQL Operators and User-Defined Functions

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
September 2020
Language
English (United States)
Last Update
2023-04-27
dita:mapPath
qqu1556127655717.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1210
lifecycle
previous
Product Category
Teradata Vantage™

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