View a markdown version of this page

向用户授予查询监控权限 - Amazon Redshift

2026 年 6 月 30 日之后,Amazon Redshift 不再支持使用 Python UDF。我们将分阶段开始执行。有关 Python 生命周期终止和迁移选项详情的更多信息,请参阅 2025 年 6 月 30 日发布的博客文章

向用户授予查询监控权限

具有 sys:monitor 权限的用户可以查看所有查询。此外,具有 sys:operator 权限的用户可以取消查询、分析查询历史记录和执行 vacuum 操作。

授予用户查询监控权限
  1. 输入以下命令以提供系统监控访问权限,其中 user-name 是您想要为其提供访问权限的用户的名称。

    grant role sys:monitor to "IAM:user-name";
  2. (可选)输入以下命令以提供系统操作员访问权限,其中 user name 是您想要为其提供访问权限的用户的名称。

    grant role sys:operator to "IAM:user-name";