跳至內容

Memory Error Loading a medium size table with Spectrum into Redshift Serverless

0

Hi there, I need help, We are loading tables from glue data catalogs into a Redshift Serverless with 8 RPUs. All works ok with small tables, but when we try with a 1.5 million records tables (like 300 MB in Parquet), redshift throws us a memory error.

ERROR: Insufficient memory to run query: consider increasing compute size or re-write the query

We are using filters for partitions, so we can not re write it because the query is Ok. If we increase from 8 to 16, then it works perfectly.

So, we don't know why loading a 300MB table into a 8 RPU( 8*16GB RAM) cluster, with 1.5M does not work, but loading 300M with 40GB from TCP/TICKIT S3, demo tables from workshops works ok.

We read that un managed Redshift we can control how much RAM a slice can use, but we cant figure it out how to manage the 100GB RAM from de 8RPUs Serverless Cluster.

Does Spectrum has limits in redshift Serverless? Are there some configs we can use?

Thanks

已提問 3 年前檢視次數 993 次

1 個回答
0

Hello,

I would suggest opening up a case with our Redshift Support team to check further on this.

AWS
支援工程師

已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。