StopMoveTablesSP Usage Notes - 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 make sure that all related queued actions for a group are completed by a given call to ManageMoveTablesSP, specify a value of 'N' or NULL for the parameter StopQueuedActions. If not, related tables reside in different maps and require additional data redistribution steps when running queries on those tables.

When the StopQueuedActions specified value is 'Y', any queued actions in TDMaps.ActionQueueTbl are stopped and transferred back to table TDMaps.ActionsTbl. The actions are assigned a GroupOrder representing the highest priority within the designated ActionListName. You can reschedule the actions later by calling ManageMoveTablesSP.

Any action types 'Alter' already running are not aborted.

Complete any stopped actions at a later time by calling ManageMoveTablesSP with the same TableActionList. ManageMoveTablesSP automatically resumes the execution of stopped and pending actions in the list.

Use ManageMoveTablesSP to specify a value for its TimeLimit parameter to eliminate calling StopMoveTablsSP later. StopMovesTableSP uses the same logic as the stop logic when a time limit expires.

Queued actions that are stopped are recorded as events within table ActionHistoryTbl with a value of 'Stopped' in the Status column. Unqueued items are not recorded in ActionHistoryTbl.