You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

SQL Server 2016及更高版本中ALTER RESOURCES服务器权限管控哪些权限

ALTER RESOURCES 服务器权限详解(SQL Server 2016+)

Alright, let's break down what the ALTER RESOURCES server-level permission grants and exactly what it controls in SQL Server 2016 and newer versions.

First, the basics: ALTER RESOURCES is a server-wide permission — granting it to a login or server role gives them the ability to modify core resource-related configurations for the entire SQL Server instance.

Here's the specific set of operations this permission enables:

  • Modify server-level resource configuration options via sp_configure:

    • Adjust memory allocation settings like max server memory (MB) and min server memory (MB)
    • Tune parallel query behavior with max degree of parallelism (MAXDOP) and cost threshold for parallelism
    • Configure resource wait times using query wait
    • Adjust other resource-focused server settings (e.g., index create memory, min memory per query)
  • Manage the Resource Governor infrastructure:

    • Create, alter, or drop resource pools with CREATE RESOURCE POOL, ALTER RESOURCE POOL, DROP RESOURCE POOL
    • Create, alter, or drop workload groups with CREATE WORKLOAD GROUP, ALTER WORKLOAD GROUP, DROP WORKLOAD GROUP
    • Assign or update the classifier function for Resource Governor using ALTER RESOURCE GOVERNOR WITH (CLASSIFIER_FUNCTION = schema.function)
    • Enable, disable, or reconfigure Resource Governor with ALTER RESOURCE GOVERNOR RECONFIGURE or ALTER RESOURCE GOVERNOR DISABLE
  • Change default server file locations:

    • Modify the default storage paths for new database data files and transaction log files (either via SSMS or T-SQL)

A critical note: This is a high-impact permission. Accounts with ALTER RESOURCES can drastically alter the instance's performance, resource allocation, and stability. Always restrict this permission to trusted administrative roles only.

内容的提问来源于stack exchange,提问作者Adam

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.22 08:05:22