This syntax is used to restart one or all paused Routine Load jobs. The restarted job will continue consuming from the previously consumed offset.
RESUME [ALL] ROUTINE LOAD FOR <job_name>
1. <job_name>
Specifies the name of the job to restart. If ALL is specified, job_name is not required.
1. [ALL]
Optional parameter. If ALL is specified, it indicates restarting all paused routine load jobs.
Users executing this SQL command must have at least the following privileges:
| Privilege | Object | Notes |
|---|---|---|
| LOAD_PRIV | Table | SHOW ROUTINE LOAD requires LOAD privilege on the table |
Restart a routine load job named test1.
RESUME ROUTINE LOAD FOR test1;
Restart all routine load jobs.
RESUME ALL ROUTINE LOAD;