File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BLOB Advantages?

 
Pervez Ahmed
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

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!!!
 
Pervez Ahmed
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone assist with this please?
 
Sonny Gill
Ranch Hand
Posts: 1211
IntelliJ IDE Mac
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jayesh Lalwani
Ranch Hand
Posts: 502
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic