one of my customer ask for a Document Management System for some thousands of document in different format i.e. pdf, doc, docx etc. My question is what is the best way to store this file in database or in file system? How easy to secure a document between the two approach?.
Fast retrieval of the files is the key requirement..
am using mysql if that helps
Regards.
You might want to store it directly into filesystem.
When using filesystem careful with :
If you need to search for these documents (date/title/etc...) you may want to store metadata into a database for better performances.
FYI, in this question MS SQL Server has FILESYSTEM column type (like an hybrid), but at the moment MySQL doesn't have an alternative.