Update adds support for MAXDOP option for CREATE STATISTICS and UPDATE STATISTICS statements in SQL Server 2014, 2016 and 2017

Applies to: SQL Server 2017 DeveloperSQL Server 2017 EnterpriseSQL Server 2017 Enterprise Core More

Summary


This update adds support for the MAXDOP option for the CREATE STATISTICS and UPDATE STATISTICS statements in Microsoft SQL Server 2014, 2016 and 2017. This enables you to override the default setting for max degree of parallelism (MAXDOP) that's specified at the database or server level.

Note The resulting degree of parallelism is capped by the workload group MAX_DOP setting if Resource Governor is used.

For example, assume that the Sales.SalesOrderDetail table is used and several statistics have already been created on it. In this case, the following script updates each statistic with a degree of parallelism equal to 8.

UPDATE STATISTICS Sales.SalesOrderDetail WITH MAXDOP = 8

More information


This update is included in the following cumulative update for SQL Server:

Cumulative Update 3 for SQL Server 2017

Service pack information for SQL Server

This update is fixed in the following service packs for SQL Server:

       Service Pack 2 for SQL Server 2016

       Service Pack 3 for SQL Server 2014

References


Learn about the terminology Microsoft uses to describe software updates.