mongodb gridfs中多个文件能存在一个chunk中么?
迷茫
迷茫 2017-04-24 09:11:07
0
1
661

mongodb gridfs中多个文件能存在一个chunk中么? mongodb适合存抓下来的网页文件么?

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(1)
黄舟

Each file stored in MongoDB's GridFS will be divided into 1 or more chunks (note that it is a GridFS chunk, not a sharded chunk). A chunk can only belong to one file. So the answer is no. Don't know why you want to do this?

The description of the second question is not clear enough. Any database can be used for storage. It depends on the usage of your application. Does it require version control? Does it need to be updated frequently? What is the ratio of reads and writes and the amount of concurrency? Wait

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!