Images, files, and binary data
Your database supports BLOBs so it must be a good idea to shove your files in there right? No it isn't! Hell it isn't even very convenient to use with many DB language bindings.
There are a few of problems with storing files in your database:
Here is the full article
http://www.revsys.com/blog/2012/may/01/three-things-you-should-never-put-your-database/
Simon
Your database supports BLOBs so it must be a good idea to shove your files in there right? No it isn't! Hell it isn't even very convenient to use with many DB language bindings.
There are a few of problems with storing files in your database:
- read/write to a DB is always slower than a filesystem
- your DB backups grow to be huge and more time consuming
- access to the files now requires going through your app and DB layers
Here is the full article
http://www.revsys.com/blog/2012/may/01/three-things-you-should-never-put-your-database/
Simon