对 STL 表的 Redshift 超级用户权限被拒绝

0

【以下的问题经过翻译处理】 使用超级用户 admin 创建 Redshift Serverless 集群后,我无法查询视图 STL_LOAD_ERRORS 或表 STLL_LOAD_ERRORS。我收到以下查询的权限被拒绝错误:

SELECT *
FROM dev.pg_catalog.stl_load_errors
LIMIT 10

[42501] ERROR: permission denied for relation stl_load_errors

我已经确认我当前的用户是使用查询的超级用户:

SELECT * FROM pg_user

我在这里错过了什么?超级用户不应该能够查看所有表吗?

这是我已经引用的一些文档:

https://docs.aws.amazon.com/redshift/latest/dg/r_superusers.html https://docs.aws.amazon.com/redshift/latest/dg/c_visibility-of-data.html https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-security.html https://docs.aws.amazon.com/redshift/latest/gsg/t_querying_redshift_system_tables.html

profile picture
전문가
질문됨 6달 전19회 조회
1개 답변
0

【以下的回答经过翻译处理】 请尝试

  1. 从 sys_load_history 中选择 *
  2. 从 SYS_LOAD_ERROR_DETAIL 中选择 *

在Serverless中的新监控视图 • 系统_查询_历史记录 • 系统_查询_详细信息 • 系统_外部_查询_详细信息 • SYS_LOAD_HISTORY • SYS_LOAD_ERROR_DETAIL • SYS_UNLOAD_HISTORY • SYS_SERVERLESS_USAGE

您不能使用 Amazon Redshift Serverless 查询 STL、STV、SVCS、SVL 和一些 SVV 系统表和视图,某些 SVV 表除外。

有关更多详细信息,请参阅以下内容。 https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-monitoring.html#serverless_views-monitoring

profile picture
전문가
답변함 6달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인