Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: BLOB/BFILE Performance
DA Morgan wrote:
> SiY wrote: >
> > > Why store any outside the database. And if you choose to do so what > does the size have to do with it?
Storing inside the DB is the best option but you'll need to consider how often the images will be accessed. Returning BLOBS consumes significant resources and can easily swamp your hardware. You should try doing some tests and see how many thumbnails you can return per minute compared to what you expect to see traffic-wise. You should also consider that some BLOBs will be much more popular than others. I have seen a scenario where one image was being retrieved over and over again, using 25% of the DB server. My advice would be structure your app so that the BLOB can be retrieved from a dedicated web server that can perform crude caching if demand justfies it. That way you have a way out of the problem if you hit it.
David Rolfe
Orinda Software
Dublin Ireland
![]() |
![]() |