On 6/17/08, Fritz Meissner <[EMAIL PROTECTED]> wrote:
>
>
> Hi all,
>
> I'm having some performance problems with saving files and one of my
> colleagues is blaming this on using Hibernate to store the files as
> BLOBs in a database -


I would profile the application before laying blame to anything. Have a look
at gathering Hibernate statistics ->
http://www.hibernate.org/hib_docs/reference/en/html/performance.html

Another handy feature would be to run an 'explain plan' for the query and
evaluate whats happening at a db level.

But I would agree with the other comments about keeping files on the
filesystem.

he suggests just writing to disk and storing a
> URL to the file in the DB instead. Does that sound like a reasonable
> solution? I've done a bit of googling and although I do see some
> recommendations to this effect, they're mostly from 4 year old forum
> posts - how are later versions of Hibernate for this?
>
> Thanks,
> Fritz
>
> >
>


-- 
If you have something tough, give it to the Americans. If you have something
difficult, give it to the Indians. If you have something impossible, give it
to the Russians

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CTJUG Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/CTJUG-Forum
For the ctjug home page see http://www.ctjug.org.za
-~----------~----~----~----~------~----~------~--~---

Reply via email to