PostExpansionAction | SQL Operators & User-Defined Functions | Teradata Vantage - PostExpansionAction - Analytics Database - Teradata Vantage

SQL Operators and User-Defined Functions

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-04-05
dita:mapPath
xub1628111590556.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
drp1544241916620
lifecycle
latest
Product Category
Teradata Vantage™

Run this procedure after a system expansion to rename the temporary, planned maps created with the CreateExpansionMaps procedure to the actual maps to be used in the Mover procedures. This procedure removes the prefix PreExpansionMap before the map names. This procedure is necessary if you ran the Advisor procedures before the system expansion and are not going to run them again afterward.

ANSI Compliance

This is Teradata extension to the ANSI SQL:2011 standard.

Syntax

CALL [TDMaps.] PostExpansionAction ('numOfNodes', 'PostExpansionMap') [;]

Syntax Elements

TD_Maps
The name of the database where the procedure is located.
numOfNodes
The number of nodes in the expanded system.
SMALLINT is the allowed data type.
PostExpansionMap
The name of the contiguous map after the system expansion.
VARCHAR is the allowed data type.

Usage Notes

An error message is returned in the following cases:
  • If numOfNodes or PostExpansionMap is NULL.
  • If no row is found in TDMaps.Maps because the user has not run the CreateExpansionMaps procedure.
  • If numOfNodes in the CreateExpansionMaps procedure is not the same as numOfNodes in the PostExpansionAction procedure.