Skip to content
Last updated

Setting Job Priority

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 valueLabelCLI example
2Very Hightd query -P 2 <query_id>
1Hightd query -P 1 <query_id>
0Defaulttd query -P 0 <query_id>
-1Lowtd query -P -1 <query_id>
-2Very Lowtd query -P -2 <query_id>

These settings help prevent normal priority jobs from running in parallel with high priority jobs.

  1. Navigate to Data Workbench > Queries.

  2. Select the query for which you want to set priority.

  3. Select the ellipsis.

  1. Select Edit query settings.

  1. Set the Priority.

  1. Select OK to save changes and exit.

Optionally, from the command line you can use:

td query -P <priority> <query_id>