NoSQL-它是否适合存储图像? [英] NoSQL- Is it suitable for storing images?

查看:169
本文介绍了NoSQL-它是否适合存储图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用分布式容错系统存储数百万张图片。在关系数据库中存储图像从未被推荐,我想知道是否是一个合适的方法来存储和管理图像文件在NoSQL数据库。

I would like to store millions of images using a distributed fault tolerant system. While storing images in relational database has never been recommended, I was wondering if it is a suitable approach to store and manage image files in NoSQL databases.

如果您能在这里分享您的经验,我将非常感激。 (例如你使用什么NoSQL数据库?在这种情况下它的优点和缺点等)

I would appreciate if you could share your experience in details here. (i.e. what NoSQL database did you use? it's advantages and disadvantages in this case, etc)

感谢

推荐答案

MongoDB有一个名为 GridFS 的API,用于在数据库集群上存储二进制文件。

MongoDB has an API called GridFS which was made for storing binary files on the database cluster.

但与关系数据库一样,将文件存储在 SAN 通常是更快,更高效,更易维护和更安全的替代方案。

But just as with relational databases, storing files in a filesystem on a SAN is often a faster, more efficient, more maintainable and safer alternative.

这篇关于NoSQL-它是否适合存储图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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