Stop Map Reassignments Gracefully| Teradata Vantage - Stopping the Map Reassignments Gracefully - Analytics Database - Teradata Vantage

Database Administration

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-10-04
dita:mapPath
pgf1628096104492.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
ujp1472240543947
lifecycle
latest
Product Category
Teradata Vantageā„¢
To stop a map reassignment job gracefully, call the StopMoveTablesSP procedure and specify N for the StopQueuedActions parameter. For example:
CALL TDMaps.StopMoveTablesSP('N',
		 :NumActionsStopped, :NumQueuedActionsStopped);

This allows all tables in the currently queued group to complete their map changes. A graceful stop keeps related groups of tables using the same map.

The StopMoveTablesSP procedure is useful if you did not specify a time limit for map reassignments or you want to stop a map reassignment job early before the time limit expires.

To resume reassigning maps after a stop, call ManageMoveTablesSP again with the same TableActionList. ManageMoveTablesSP automatically restarts the stopped and still pending actions in the list.

For more information on StopMoveTablesSP, including the syntax, see Teradata Vantageā„¢ - SQL Operators and User-Defined Functions, B035-1210.