I am trying to understand pricing for Redshift Serverless but slightly confused between compute_seconds
and charged_seconds
.
I have currently set base RPU to 128 which is the default.
I have have executed certain queries and after that have queried the sys_serverless_usage
view and I see the below results
below are some of my questions
- Does compute_seconds refer to the number of seconds it took for the query to execute?
- what's the difference between
charged_seconds
andcompute_seconds
. On row 6 i see thatcompute_seconds
is0
butcharged_seconds
are7680
.
Any help here would be great, thanks.
Yes, compute would be the number of seconds to execute the query
Charged seconds could be rounded up based on the minimum billing of 60 seconds. 128 RPU * 60 seconds = 7680