I've trying to store nearly 80,000 files (75K each) somewhere (file system or database). Is the advantage with BLOB's that they can access the files much faster through the database versus a file system (performance)?? I am guessing memory is still a major issue to think over since I will need over 5GB on both hard drives (database or file server). BLOB's are new to me and I'm trying to figure out their purpose. Thanks for any input!!!
Probabely the best thing to do is to run a couple of tests measuring the performance in both cases, it should be pretty simple. Using a BLOB is supposed to be more efficient than using another form, but I dont know how it compares to filesystem access. Major disadvantage of BLOB is that you can use it only as long as your transaction lasts.
Joined: Nov 05, 2004
In my previous company, we were storing a large number of images. The Architects always wanted to store the images as files instead of BLOBs. The reason cited was a) performance and b) it's easier to share images between apps if they are stored as images(2 differrent databases can point to the same image if the image is stored as a file on a shared drive or HTTP location). I did'nt do any performance tests myself, so I cant vouch for it. But logically , if your server is going to host large-sized files to a lot of clients, then it's better to put those files on a differrent server. You can configure the File Server based on the size of the files, number of requests, yadda, yadda, yadda