Possible Duplicates:
To Do or Not to Do: Store Images in a Database
Storing Images : DB or File System -
Hello everybody I need to implement image storage in a web application so have the following question:
When saving images I have 2 choices using blobs or saving the image directly onto the web server. In other words using the DB server to store the whole amount of pictures which is going to be the core business (processing images) vs letting the web server stores them.
Performance is going to be better from the web server side because I do not have to be querying the DB to retrieve images, just the path. On the other hand using the DB is a better choice because of Storage space; but I do not know which choice is better.
I want to have some idea which of those is the best practice. If you have any advice please let me know. Thanks in advance.