I ran an Athena query, it took 20 minutes to run and it scanned over 2 TB of data. Is it possible for me to find out the exact query cost in AWS itself? So not just the scan, but the complete:

sum = data_scan_cost + s3_cost(read) + s3_costs(write) 
1

1 Answer

Cost is $5 per TB scanned; so this would cost you ~$10 in athena queries.

Without understanding how much data you wrote out to s3 we can't get an accurate read of that, but at .023/GB I imagine this is negligible. Put and get requests cost money, but for the context of this single query they're negligible.

All in, around $15 considering your ~2TB scanned is closer to 2.5.

4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.