Hello there.
Right now I'm facing some performance issues in a web app because of a situation with Oracle saving images and my webapp getting them.
The database gets the input from a form, which allows user to save any kind of image as a BLOB. No matter the format, it gets saved in a table with its description and stuff. The field getting the image is a BLOB.
Then, through a web service querying the table (using a stored proc.) and a Java WS client, my webapp gets the image and saves it in the webapp's server while needed. It does not get any particular extension because the DB doesn't tell which extension should it be. Anyhow, the broswer can tell using the metadata.
My problem is: how can I avoid the DB serving a bitmap? The performance is awful in specific situations and poor connections because of loading a 1.5MB bitmap. And this webapp must be able to work properly in 256Mb conns. What can be done, then?
Thanks for your help.
Edit: The thing can be treated using BFILE datatype. Thanks for your help.