http://qs321.pair.com?node_id=796154


in reply to Insert BLOB into DB without using system memory, but using filehandle.

You might hog memory -- but I'm sure the operating system will do something intelligent about that.

If you're worried about 2G files (I'm assuming that's the same as the amount of physical RAM you have), perhaps you can a) limit the size of the file you accept, b) get more memory, c) make your cache larger. In any case, I would Try it And See .. a 2G file is pretty large lump of stuff to be moving around -- I assume you have sufficient disk space and backup capacity to handle all that.

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds

  • Comment on Re: Insert BLOB into DB without using system memory, but using filehandle.