哪种方法效果更好:将图像存储在数据库中还是作为服务器上的单个文件存储? [英] Which performs better: storing images in a database, or as individual files on the server?

查看:119
本文介绍了哪种方法效果更好:将图像存储在数据库中还是作为服务器上的单个文件存储?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用电子商务解决方案(NopCommerce),我可以将jpg图像存储在MSSQL数据库或文件系统中的服务器上.两种方法都有固有的性能优势吗?

With my ecommerce solution (NopCommerce) I can store my jpg images on the server in an MSSQL database or in the file system. Is there an inherent performance advantage either way? Thanks.

推荐答案

请参阅此博客条目,并查看其底部有关Flickr体系结构的链接.

http://www.childofthemachine.com/blog/2008 /02/image-storage-database-blob-vs-file-system/ [
See this blog entry and also check out the link at the bottom of it about the Flickr architecture.

http://www.childofthemachine.com/blog/2008/02/image-storage-database-blob-vs-file-system/[^]


这篇关于哪种方法效果更好:将图像存储在数据库中还是作为服务器上的单个文件存储?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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