Skip to content

Running out of Disk Space on ra3.xlplus Node with Managed Storage

0

Hello,

We have a single-node redshift cluster with an ra3.xlplus node. My understanding from the docs and from conversing with Amazon Q is that managed storage should be enabled automatically for this node type and redshift should automatically offload cold data to s3. However, our stored data never goes down. We are now using about 70% of our 4TB on the SSD. Sometimes if we create large new tables we can run out of disk space on the node.

I'm trying to understand how managed storage plays in here. My assumption would be that Redshift should automatically move data off the SSD to s3 which would free up space on the SSD. I have a few questions:

  1. How can I tell how much data has been moved to s3?
  2. Shouldn't the amount of data stored on the node's SSD go down at some point if cold data is moved to s3?

Thank you for your help

asked a year ago301 views

2 Answers
1

You're correct that RA3 nodes use managed storage, which automatically offloads less frequently accessed "cold" data to Amazon S3 while keeping "hot" data on the node's local SSDs.

To address your questions:

  1. How can I tell how much data has been moved to S3? You can check your storage usage by querying the STV_NODE_STORAGE_CAPACITY system table. This table shows both the used storage and total capacity. For RA3 nodes, the "used" column includes both locally cached blocks and blocks persisted in Amazon S3. You can run:
SELECT node, used, capacity 
FROM STV_NODE_STORAGE_CAPACITY;

This will show you the total storage used across both local SSD and S3.

  1. Shouldn't the amount of data stored on the node's SSD go down at some point if cold data is moved to S3? The behavior you're experiencing is actually expected. With RA3 nodes, Amazon Redshift automatically manages the placement of data between local SSDs and S3, but it doesn't necessarily reduce the amount of data shown as "used" on the node. The system is designed to keep as much data as possible on the fast local SSDs for performance reasons, and only offload to S3 when necessary.

When you're seeing 70% usage of your 4TB SSD, Redshift is likely keeping that data locally because it has the space to do so. The managed storage system will only start actively offloading to S3 when the local storage gets closer to capacity.

If you're occasionally running out of space when creating large new tables, this suggests that at those moments, the system is hitting the local SSD capacity limit before it can efficiently offload data to S3. In these cases, you might want to:

  1. Consider adding more nodes to your cluster if you frequently need more local SSD capacity
  2. Break very large table creations into smaller batches to give the system time to manage storage placement
  3. Monitor your storage usage more closely before large operations

Remember that with RA3 nodes, you're not limited by the local SSD capacity for your total storage - you can store much more data than what fits on the local SSDs. The system will automatically manage the tiered storage architecture, keeping frequently accessed data on SSDs and moving less frequently accessed data to S3.
Sources
Redshift ra3.large type provides only 1TB storage even though in the docs it says it gives 8TB per node | AWS re:Post
Amazon Redshift provisioned clusters - Amazon Redshift
STV_NODE_STORAGE_CAPACITY - Amazon Redshift

answered a year ago

EXPERT

reviewed a year ago

  • How can I tell how much data has been moved to S3? You can check your storage usage by querying the STV_NODE_STORAGE_CAPACITY system table. This table shows both the used storage and total capacity. For RA3 nodes, the "used" column includes both locally cached blocks and blocks persisted in Amazon S3. You can run: SELECT node, used, capacity FROM STV_NODE_STORAGE_CAPACITY; This will show you the total storage used across both local SSD and S3.

    I ran this query and it still shows only 4tb of capacity:

    dev=# SELECT node, used, capacity FROM STV_NODE_STORAGE_CAPACITY; node | used | capacity ------+---------+---------- 0 | 2904565 | 4000000

  • Need to highlight that with only 1 node you have a maximum of 4TB of managed storage available.

0
Accepted Answer

Oleksii's post is good about tracking the storage used.

However, with a single node ra3.xlplus cluster, you will only have a maximum of 4TB of managed storage available for you. You need to move to a multi node setup to get additional storage available ( up to 1024TB).

Please see this link for total storage available.

AWS

answered a year ago

AWS
SUPPORT ENGINEER

reviewed a year 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.