MongoDB-使用GridFS的最大文件大小 [英] MongoDB - Maximum file size using GridFS

查看:441
本文介绍了MongoDB-使用GridFS的最大文件大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如果有人要使用GridFS存储文件,最大文件大小是多少?我找不到任何信息,因此将不胜感激.

I am wondering what is the maximum file size if someone wants to store a file using the GridFS? I can't find any information so any help would be appreciated.

推荐答案

基本上是无穷大,或更精确的数字是您的工作集允许的数量.

Infinity basically, or a more exact number would be how much your working set allows.

驱动程序中实现的GridFS标准会将文件分成较小的块,并将它们存储在fs.chunks集合中,而不管文件有多大.

The GridFS standard implemented within drivers will split files up into smaller chunks and store them in a fs.chunks collection irrespective of how big the file is.

这篇关于MongoDB-使用GridFS的最大文件大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆