This question already has an answer here:
I work in a Web Application where users are allowed to upload files. They can retrieve and view those files at a later point in time. A solution that user works with can have multiple attachments but the click to view only one at a time. No version maintenance. Users can delete those files. No soft delete. The files are captured with few more fields on the UI and those fields are stored in DB2 table. Files can be max of 5 MB.
Now, would it be appropriate to store these files in DB2 database as BLOB objects (or) would it be appropriate to store them in a folder? What is the best approach?