Azure SQL 数据库 - 修改并行度的成本阈值

Mos*_*she 2 sql-server azure-sql-database azure-sql-server

我尝试更新 的值cost threshold for parallelism,但由于我的数据库是 Azure SQL 数据库,我无法运行以下命令:

EXEC sp_configure 'cost threshold for parallelism', 40 ;
GO
RECONFIGURE
Run Code Online (Sandbox Code Playgroud)

由于错误“无法找到存储过程‘sp_configure’。

是否可以在 Azure SQL 数据库中更新此设置?

Sql*_*ide 6

您无法更改cost threshold for parallelismAzure SQL 数据库 PaaS 服务的 。

您只能MAXDOP在查询和数据库级别更改。详细信息请参见此处

参考: