MoveTablesSP | SQL Operators & User-Defined Functions | Teradata Vantage - MoveTablesSP - 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™

Purpose

MoveTablesSP executes a worker session that consumes and executes actions from table ActionQueueTbl, which was populated by a prior call to ManageMoveTablesSP. You can make multiple concurrent calls to MoveTableSP, where the workers fetch and perform actions in parallel from the shared queue.

Syntax

CALL [TDMaps.] MoveTablesSP (
  'ActionList',
  'DatabaseName',
  'TableName',
  'TargetMapName',
  'ColocationName'
) [;]
TDMaps.
The name of the database.
'ActionList'
The options are 'P' for the ParallelTableActionList, or 'S' for the SerialTableActionList.
'DatabaseName'
The database in which the object is defined.
'TableName'
Name of table, join index, or hash index defined in 'DatabaseName'.
'TargetMapName'
Name of the map where the object is moved.
'ColocationName'
The colocation name string for the table.