简体   繁体   English

如何在 AWS DocumentDB 中存储大于 16mb 的文件?

[英]How to store files larger than 16mb in AWS DocumentDB?

I am switching from MongoDB to AWS DocumentDB.我正在从 MongoDB 切换到 AWS DocumentDB。 However, in MongoDB, I used GridFs to store and retrieve files larger than 16MB.然而,在MongoDB中,我使用GridFs来存储和检索大于16MB的文件。 But this is not supported in AWS DocumentDb.但这在 AWS DocumentDb 中不受支持。 Is there any way on how to store or process large files(>16MB) in AWS DocumentDB?有什么方法可以在 AWS DocumentDB 中存储或处理大文件(>16MB)? Any help or leads would be appreciated.任何帮助或线索将不胜感激。 Thanks!谢谢!

GridFS is a client construct and should just work with DocumentDB. GridFS 是一个客户端结构,应该只与 DocumentDB 一起工作。 However, we do not test it and thus don't officially support it.但是,我们不对其进行测试,因此不正式支持它。 Did you encounter any issues when using GridFS with DocumentDB?您在将 GridFS 与 DocumentDB 结合使用时遇到过任何问题吗?

If you switched to MongoDB Atlas which runs very nicely on to of AWS you would still be able to used GridFS to store your files.如果你切换到MongoDB Atlas ,它在 AWS 上运行得很好,你仍然可以使用 GridFS 来存储你的文件。

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

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