我想知道 S3 存储桶是否有大小限制?或者我可以无限地存储对象?
我需要这些信息来确定我是否需要编写一个更清洁的工具。
最佳答案
您可以在 S3 存储桶中存储无限的对象。但是,存储的单个对象是有限制的——
- 一个对象可以是 0 字节到 5TB。
- 单个 PUT 中可以上传的最大对象为 5 GB
- 对于大于 100 兆字节的对象,客户应考虑使用分段上传功能。
如果您有太多对象,请考虑为您的对象名称随机添加一些前缀。
When your workload is a mix of request types, introduce some randomness to key names by adding a hash string as a prefix to the key name. By introducing randomness to your key names the I/O load will be distributed across multiple index partitions. For example, you can compute an MD5 hash of the character sequence that you plan to assign as the key and add 3 or 4 characters from the hash as a prefix to the key name.
https://aws.amazon.com/premiumsupport/knowledge-center/s3-bucket-performance-improve/
关于amazon-s3 - S3 存储桶有总大小限制吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21251415/