Redshift Serverless
的计算单位叫RPU( Redshift Processing Units ),
基准容量是Redshift Serverless平时运行的RPU,一个RPU提供16GB的内存。
默认Redshift Serverless的基准容量是128RPU,可以将其从8RPU到512RPU之间来调 (8,16,24…512)
32RPU以下,集群最多支持128TB数据,超过128TB数据,要将基准RPU设置为32以上
Base capacity and its affect on billing
When queries run, you’re billed according to the capacity used in a given duration, in RPU hours on a per-second basis. When no queries are running, you aren’t billed for compute capacity. You are also charged for Redshift Managed Storage (RMS), based on the amount of data stored.
When you create your workgroup, you have the option to set the Base capacity for computing. To meet the price/performance requirements of your workload at a workgroup level, adjust the base capacity higher or lower for an existing workgroup. Select the workgroup from Workgroup configuration and choose the Limits tab to change the base capacity using the console.
As the number of queries increases, Amazon Redshift Serverless scales automatically to provide consistent performance.
Maximum RPU hours
To keep costs predictable for Amazon Redshift Serverless, you can set the Maximum RPU hours used per day, per week, or per month. You can set this using the console, or with the API. When a limit is reached, you can specify to write a log entry to a system table, or receive an alert, or turn off user queries. Setting the maximum RPU hours helps keep your cost under control. Settings for maximum RPU hours apply to your workgroup for both queries that access data in your data warehouse and queries that access external data, such as in an external table in Amazon S3.
Setting the maximum RPU hours for the workgroup doesn’t limit the performance. You can adjust the setting at any time without an interruption to query processing.
Setting the base capacity and maximum RPU hours can help you meet your price/performance requirements while maintaining predictable costs. For more information about the base capacity setting, see Understanding Amazon Redshift Serverless capacity . For more information about serverless billing, see Amazon Redshift pricing .
Another way to keep the cost for Amazon Redshift Serverless predictable is to use AWS Cost Anomaly Detection to reduce surprises in billing and provide more control.