It's a write problem, but I haven't looked too deeply into it. There could well be something other than DB issues, I was just asking about the general case of using DB vs disk for binaries.
On Tue, Jun 17, 2008 at 11:27 AM, Brian Silberbauer <[EMAIL PROTECTED]> wrote: > > I've always leaned towards storing large files in the filesystem, the > problem with storing large data in the database is that you tend to > tie up database resources while you are storing retrieving. > > But, as ever, make sure that is where you are getting a performance > hit before you start hacking your code. A common problem with file > handling is the code reading/writing the entire file into memory > instead of streaming directly. There might be database tuning you > could do that would help too: is your problem a read or wite problem? > > Brian > > > On Tue, Jun 17, 2008 at 10:50 AM, 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 - 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 >> >> > >> > > > > -- > Brian Silberbauer > Consultant > > +27 (0)83 566 2705 > skype: brian.silberbauer > http://www.linkedin.com/in/briansilberbauer > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
