简体   繁体   English

AWS S3 的定价标准

[英]Pricing criteria of AWS S3

I am confused about pricking criteria in aws s3.我对 aws s3 中的刺穿标准感到困惑。

Let's assume让我们假设

SELECT * FROM TABLE => result 1000 rows SELECT * FROM TABLE => 结果 1000 行

Is this command 1000 requests or 1 request?这个命令是 1000 个请求还是 1 个请求?

If you using S3 Select to query, it is a single request and you get charged for every 1000 requests and charged at the same rate as object GET requests如果您使用 S3 Select 进行查询,则为单个请求,每 1000 个请求收取费用,费用与 object GET 请求相同

If you are using Athena to query S3, the charge would be for the amount of data retrieved and how the file is stored like zip or parquet format如果您使用 Athena 查询 S3,则费用将针对检索的数据量以及文件的存储方式,如 zip 或 parquet 格式

AWS S3 Select charges for the bytes scanned ($0.00200 per GB) and the bytes returned ($0.0007 per GB). AWS S3 Select 对扫描的字节数(每 GB 0.00200 美元)和返回的字节数(每 GB 0.0007 美元)收费。

The charges are broken in your billing management console Under Billing>Bills>Details>Simple Storage Service>Region> "Amazon Simple Storage Service USE2-Select-Returned-Bytes" and "Amazon Simple Storage Service USE2-Select-Scanned-Bytes"费用在您的账单管理控制台中被打破在账单>账单>详细信息>简单存储服务>区域>“亚马逊简单存储服务USE2-Select-Returned-Bytes”和“Amazon Simple Storage Service USE2-Select-Scanned-Bytes”

Using limit, where clauses or having a compressed file reduces the bytes scanned.使用 limit、where 子句或压缩文件可以减少扫描的字节数。 The service supports gzipped Parquet files which is fantastic.该服务支持 gzipped Parquet 文件,这非常棒。 I was able to reduce file sizes by 90% and take advantage of columnar data format rather than csv.我能够将文件大小减少 90%,并利用列式数据格式而不是 csv。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM