• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

BLOB Advantages?

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can someone assist with this please?
 
Ranch Hand
Posts: 1211
Mac IntelliJ IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 502
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic