17.10 - Example: Using MonitorMoveTablesSP - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Operators and User-Defined Functions

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Administration
Programming Reference
Publication ID
B035-1210-171K
Language
English (United States)
CALL TDMaps.MonitorMoveTablesSP('MyNewMapActions',NumTables, 
                          NumComplete, NumInProgress, NumWaitingToStart,   PercentComplete);

*** Procedure has been executed.
*** Warning: 3212 The stored procedure returned one or more result sets.
*** Total elapsed time was 1 second.

NumTables         2712
NumComplete         2526
NumInProgress            1
NumWaitingToStart          185

PercentComplete           .93

*** ResultSet# 1 : 1 rows returned by "TDMAPS.MONITORMOVETABLESSP".

ZoneName ?
JobNumber        2016042801
Action Alter
Status InProgress
DatabaseName MHM
TableName TAB21_PI
GroupOrder   1.00
SourceMap TD_Map1
DestinationMap TD_Map2
ActionSQLText ALTER TABLE MHM.TAB21_PI, MAP=td_map2
ActionListName MyNewMapActions
TableSize              1118482
FractionOfPermDBFree  9.99999999610461E-001
Issues N
PrevGroupsBytesPerSec                                        ?
EstElapsedTimeInSecond                                        ?
ElapsedTime                                        ?
StartTime 2016-02-02 12:22:45.270000+00:00
EndTime                                ?
ErrorCode              0
RunUID 0000F903
ActionsTblDescription Move table for system expansion.
Description ?
WorkerId           1

--