问题
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.
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)
Thanks
回答1:
MongoDB has an API called GridFS which was made for storing binary files on the database cluster.
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.
来源:https://stackoverflow.com/questions/18819292/nosql-is-it-suitable-for-storing-images