- 新しい順
- 投票が多い順
- コメントが多い順
Q. With DocumentDB compresssion, does the size limit apply pre-compression or post-compresssion?
Amazon DocumentDB only compresses documents with a size of 2KB and larger and compression is only supported on Amazon DocumentDB version 5.0 and higher.
[+] https://docs.aws.amazon.com/documentdb/latest/developerguide/doc-compression.html#compression-guidelines [+] https://docs.aws.amazon.com/documentdb/latest/developerguide/doc-compression.html#enabling-compression
Q. Can documents be 'pre-compressed' before insertion?
Yes, you can enable document compression at a collection level and view compression metrics as needed by measuring the storage gains through compression metrics such as storage size of compressed documents and compression status. Please be advised that as per our documentation, document compression is disabled by default and this setting is currently not modifiable. As a result, you may consider enabling document compression while creating your collections to be migrated on the target Amazon DocumentDB cluster before starting the document insertion/migration.
[+] https://docs.aws.amazon.com/documentdb/latest/developerguide/doc-compression.html
Q. Is there any information on how indexes, search speed, etc are impacted by compression?
Compressed documents in Amazon DocumentDB are up to 7x smaller than uncompressed documents. Compressed documents require less storage space and IO operations during database reads and writes, leading to lower storage and IO costs.
[+] https://aws.amazon.com/about-aws/whats-new/2023/07/amazon-document-db-mongo-db-document-compression/
関連するコンテンツ
- AWS公式更新しました 9ヶ月前
Thanks for the response Nandan!
I edited my question to clarify some of my questions. When I said size limit, I was referring to the 16MB document size limit. I have looked at the documents you are linking before I posted and, unfortunately, they don't have the specific answers to the questions I was asking.