Scheduled jobs must sometimes be set as high or low priority items.
A job that is submitted with higher priority has a better chance of being executed and assigned resources more quickly than a job with lower priority.
Job priority values
| Priority value | Label | CLI example |
|---|---|---|
| 2 | Very High | td query -P 2 <query_id> |
| 1 | High | td query -P 1 <query_id> |
| 0 | Default | td query -P 0 <query_id> |
| -1 | Low | td query -P -1 <query_id> |
| -2 | Very Low | td query -P -2 <query_id> |
These settings help prevent normal priority jobs from running in parallel with high priority jobs.
Navigate to Data Workbench > Queries.
Select the query for which you want to set priority.
Select the ellipsis.

- Select Edit query settings.

- Set the Priority.

- Select OK to save changes and exit.
Optionally, from the command line you can use:
td query -P <priority> <query_id>