Redshift在运行查询时发生内存溢出。

0

【以下的问题经过翻译处理】 你好: 我们有一个开发用的 RedShift 集群(版本号 1.0.37758),只有一个节点(dc2.large)。最近,在运行一个查询时,我们一直遇到内存不足的错误。这个查询中包含 UNPIVOT…我们一直遇到的两个错误是:

  1. ERROR: Out Of Memory: Detail:----------------------------------------------- error: Out Of Memory: code: 1004 context: alloc(169776,MtRowset) query: 3422739 location: alloc.cpp:493 process: padbmaster [pid=15449]----------------------------------------------- [ErrorId: 1-626a8968-5f716e5b710716e62422db2e]

  2. ERROR: Out of Memory Detail:----------------------------------------------- error: Out of Memory code: 1020 context: From OomGuard query: 0 location: oom_guard.cpp:392 process: oom_guard [pid=14039]

第一个错误的错误代码是1004,比第二个错误更常见。

请问有什么建议来确定根本原因并解决这些问题吗?

提前感谢!

Li

profile picture
专家
已提问 5 个月前2 查看次数
1 回答
0

【以下的回答经过翻译处理】 谢谢,是的,我们重写了查询,已经解决了这个问题...感谢您的信息。

profile picture
专家
已回答 5 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则