

 从补丁 198 开始，Amazon Redshift 将不再支持创建新的 Python UDF。现有的 Python UDF 将继续正常运行至 2026 年 6 月 30 日。有关更多信息，请参阅[博客文章](https://www.amazonaws.cn/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/)。

# RBAC 的系统权限
<a name="r_roles-system-privileges"></a>

以下是可向角色授予或撤消的系统权限列表。


| 命令 | 您必须通过以下方式之一获得运行该命令的权限 | 
| --- | --- | 
| CREATE ROLE |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| DROP ROLE |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| CREATE USER |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| DROP USER |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| ALTER USER |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| CREATE SCHEMA |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| DROP SCHEMA |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| ALTER DEFAULT PRIVILEGES |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| ACCESS CATALOG |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| ACCESS SYSTEM TABLE |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| CREATE TABLE |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| DROP TABLE |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| ALTER TABLE |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| CREATE OR REPLACE FUNCTION |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| CREATE OR REPLACE EXTERNAL FUNCTION |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| DROP FUNCTION |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| CREATE OR REPLACE PROCEDURE |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| DROP PROCEDURE |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| CREATE OR REPLACE VIEW |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| DROP VIEW |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| CREATE MODEL |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| DROP MODEL |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| CREATE DATASHARE |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| ALTER DATASHARE |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| DROP DATASHARE |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| CREATE LIBRARY |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| DROP LIBRARY |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| ANALYZE |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| CANCEL |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| TRUNCATE TABLE |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| VACUUM |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| IGNORE RLS |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| EXPLAIN RLS |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 
| EXPLAIN MASKING |  [See the AWS documentation website for more details](http://docs.amazonaws.cn/redshift/latest/dg/r_roles-system-privileges.html)  | 