S3 Select Compressed Pricing

0

If I run an s3 select query on a compressed file, will I be charged for the bytes scanned on the compressed file size or the decompressed file size? It is not clear at all from the documentation.

The s3 select response returns the BytesScanned and BytesProcessed fields. BytesScanned is the compressed files size and BytesProcessed is the decompressed file size.

1 Answer
1

You will be charged for the number of bytes scanned in the compressed file. Amazon S3 Select works directly on your compressed data and does not need to decompress the data before processing the SELECT statement.

You can easily test this by running a S3 select on an compressed and an uncompressed file and comparing the Usage Reports. Refer to https://docs.aws.amazon.com/AmazonS3/latest/userguide/aws-usage-report.html to create the usage reports (See Downloading the AWS Usage Report)

profile pictureAWS
answered 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.

Guidelines for Answering Questions