将图像作为 blob 存储在数据库中还是将它们存储在服务器上的文件系统中?
Storing images as blob in DB or storing them in filesystem on server?
好吧,我正在尝试制作一个小型社交网络应用程序,我将在课程外存储图像。我以前尝试过使用文件系统技术存储图像,但这次我想尝试数据库方式。但我很困惑。哪种方式更好。哪种方式更快。两者各有什么优缺点。
主要社交网络应用程序使用什么技术?我真的很感激你的建议。谢谢。
I have tried out storing image as blob for one of my projects.
I
havent worked on the filesystem storage implementation.
blob 的缺点:
- 数据库大小略有增加。
- 检索速度慢。
优点:
- 便携式
希望此回复对您有所帮助
干杯:)
好吧,我正在尝试制作一个小型社交网络应用程序,我将在课程外存储图像。我以前尝试过使用文件系统技术存储图像,但这次我想尝试数据库方式。但我很困惑。哪种方式更好。哪种方式更快。两者各有什么优缺点。 主要社交网络应用程序使用什么技术?我真的很感激你的建议。谢谢。
I have tried out storing image as blob for one of my projects.
I havent worked on the filesystem storage implementation.
blob 的缺点:
- 数据库大小略有增加。
- 检索速度慢。
优点:
- 便携式
希望此回复对您有所帮助 干杯:)