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
EXPERT
asked 6 months ago8 views
1 Answer
0

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

profile picture
EXPERT
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions