QUERY HINT MAXDOP <integer_value>
Overrides the max degree of parallelism configuration option of sp_configure.
What changes
- Input
- none
- Output or change
- none
Syntax at a glance
OPTION ( MAXDOP <integer_value> )
Work example
A measured workload change may justify testing QUERY HINT MAXDOP <integer_value> against the database resource budget.
Compare representative plans and concurrent load. Check the setting with the database owner and keep the change scoped to the smallest query set.
Check your work QUERY HINT MAXDOP <integer_value>. The workload stays within the approved resource budget and QUERY HINT MAXDOP <integer_value> does not reduce required throughput.
Open Microsoft Learn for full syntax, permissions, and details for your version.