amazon-web-services - 如何授予 Amazon Redshift 用户读取系统表、 View 、日志等的访问权限?

标签 amazon-web-services amazon-redshift

我在 Amazon Redshift 中有一个用户。我希望该用户能够对系统表进行只读查询:

http://docs.aws.amazon.com/redshift/latest/dg/cm_chap_system-tables.html

但我不知道如何授予不是 super 用户访问这些表的用户,因为它似乎没有在亚马逊上的任何地方记录。

最佳答案

显然,您不想将 super 用户授予另一个用户,以便他们可以查看系统日志。能够进行监控是一个非常常见的用例,不需要授予某人全权访问权限。

幸运的是,您可以使用 syslog access 授予对系统表的访问权限。选项。

alter user user123 syslog access unrestricted

Redshift documentation on visibility

关于amazon-web-services - 如何授予 Amazon Redshift 用户读取系统表、 View 、日志等的访问权限?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39582173/

相关文章:

sql - 如何在redshift中合并行

amazon-web-services - AWS EKS Terraform - 未找到标签 "KubernetesCluster"或 "kubernetes.io/cluster/..."

amazon-web-services -/etc/fstab 中的动态IP

amazon-web-services - Amazon elasticsearch 对 FreeStorageSpace 指标的解释

sql - 如何禁用在 Redshift 查询中使用缓存结果?

pyspark - 在pyspark中以追加模式写入redshift

amazon-redshift - 柱状数据库中的数据建模与多维报告的数据建模

python - 用 null python pandas 替换 NaN

linux - Shell 脚本段错误 - AWS

amazon-web-services - 不同环境的不同 S3 桶 VS 一个桶和每个环境的不同对象