Maxdop query

  • hi SQL family,

    which statement regarding maxdop is true as I am slightly confused...

    1)MAXDOP limits the number of logical processors that can be used for a given query?

    2)MAXDOP constrains the number of threads per operator within the query?

  • MAXDOP restricts the number of CPUs that can be used in a parallel query plan. MAXDOP 0 let's SQL Server use as many as SQL Server wants (up to 64 CPUs).

    "I cant stress enough the importance of switching from a sequential files mindset to set-based thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code."

    -- Itzik Ben-Gan 2001

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply