 <p>Database is meant for data not files! I have come across many situation where many prefer to store it to database, be it mangodb or others. Logically that's not worth. </p> <p>Your question "is it worth of programming effort?"; seriously no if you are doing once in a while. It takes a lot of effort to put things in database. However if you are a developer working on it frequently once you are get used to you, you will do it even if its not worth to do so :) </p> <p>I vote for you to go for file system storage for files and not database. And for difficulties of no. of files, you will find a way to resolve it for sure. </p>