P is for Practical | |
PerlMonks |
Insert BLOB into DB without using system memory, but using filehandle.by songahji (Friar) |
on Sep 18, 2009 at 14:46 UTC ( [id://796131]=perlquestion: print w/replies, xml ) | Need Help?? |
songahji has asked for the wisdom of the Perl Monks concerning the following question:
Ladies and Gents,
I am trying to insert img, pdf, etc files into DB Blog.
You see that the $self->{'data'} is comes from
This I read the content into Memory, what if the file is 2G? I will hog the memory, am I not? Is there anyway I do it with filehandle, and some how stream it? Would DBI or DBD::Oracle let me do it?
Best regards,
Back to
Seekers of Perl Wisdom
|
|