CodeX
Published in

CodeX

SQL Server 2022 Degree of Parallelism (DOP) Feedback

The definitive solution to the MAXDOP configuration!

Photo by Caspar Camille Rubin on Unsplash

Degree of parallelism feedback

How does DOP feedback work?

-- Enable DOP feedback at the database level
ALTER DATABASE SCOPED CONFIGURATION SET DOP_FEEDBACK = ON;
GO
-- Disable DOP feedback at the database level
ALTER DATABASE SCOPED CONFIGURATION SET DOP_FEEDBACK = OFF;
GO
  • dop_feedback_eligible_query: Occurs when the query plan becomes eligible for DOP feedback
  • dop_feedback_provided: Occurs when the query plan becomes eligible for DOP feedback
  • dop_feedback_validation: Occurs when validation occurs for the query runtime stats against a baseline or previous feedback stats
  • dop_feedback_reverted: Occurs when a DOP feedback is reverted

Summary

--

--

Everything connected with Tech & Code. Follow to join our 1M+ monthly readers

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store