Basically it is a matter of using the right tool for the job. A lot of time and effort has been put into optimizing the relational database in order to store relational data. A lot of time and effort has been put into optimizing file systems to store files.
The former can be used to complete part of the assignment of the latter, but if there is no really good reason not to use the latter, then this is a tool more suitable for work. In almost every case, I came across saving the path to the file (and other relevant information about the file that you might want) in the database, and the actual file in FS is a more suitable approach to using the available tools.
David
source share