Stop Map Reassignments Gracefully| VantageCloud Lake - Stopping the Map Reassignments Gracefully - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905
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 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.