无法在非聚集列存储索引上设置 MAXDOP 选项

发布于 2025-01-19 07:25:58 字数 398 浏览 4 评论 0原文

我尝试使用以下方法在非聚集列存储索引上设置 MAXDOP 选项,但它似乎没有坚持。服务器是 SQL Server 2019。

  1. 索引属性 ->选项页面->最大并行度。我已将其设置为 2,然后单击“确定”。它没有显示任何错误,但当我再次检查索引属性时,它显示最大并行度为 0。

  2. ALTER INDEX IXCS_Test ON [DBTest].[TBLTest] REBUILD WITH (MAXDOP = 2) 此语句成功执行,没有错误,但再次,当我检查索引的属性时,它仍然为 0。

尝试每个之后对于上述选项,我尝试将索引编写为 Create 语句,但在脚本中没有看到 MAXDOP 选项。

我在这里缺少什么?请帮忙。

I'm trying to set MAXDOP option on a non-clustered columnstore index using the following ways and it doesn't seem to be sticking. Server is SQL Server 2019.

  1. Index properties -> Options Page -> Maximum Degree of Parallelism. I have set this to 2 and hit OK. It doesn't show me any error but when I check the index properties again, it shows 0 for Maximum Degree of Parallelism.

  2. ALTER INDEX IXCS_Test ON [DBTest].[TBLTest] REBUILD WITH (MAXDOP = 2) This statement executes successfully without errors but again, when I check the properties of the index it's still at 0.

After trying each the above options, I tried scripting the index as a Create statement and I don't see the MAXDOP option in the script.

What am I missing here? Please help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文