DO_TM_TASK
Runs a Tuple Mover operation on the specified table or projection and commits any current transaction.
Tip: Running this function does not require you to stop the tuple mover.
Syntax
DO_TM_TASK('task'[, '[database.]schema.]{table | projection}]')
Parameters
| task |
Specifies one of the following tuple mover operations:
|
[database.]schema
|
Specifies a schema, by default myschema.thisDbObject If you specify a database, it must be the current database. |
table | projection
|
Applies task to the specified table or projection. If you specify a projection and it is not found, If no table or projection is specified, the task is applied to all tables and projections in the database. |
Privileges
- Any INSERT/UPDATE/DELETE privilege on table
- USAGE privileges on schema
Examples
The following example performs a moveout of all projections for the t1 table:
=> SELECT DO_TM_TASK('moveout', 't1');
The following example performs a moveout for the t1_projprojection :
=> SELECT DO_TM_TASK('moveout', 't1_proj');