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
전문가
질문됨 6달 전8회 조회
1개 답변
0

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

profile picture
전문가
답변함 6달 전

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

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

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