perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Nicol" <>
Subject Re: Any success with storing photos in a database?
Date Mon, 29 Sep 2008 20:36:30 GMT
On Mon, Sep 29, 2008 at 3:16 PM, André Warnier <> wrote:

> Oh, and I've thought of another advantage, in an Apache/web context : to
> send the content of a file to a browser, you can take advantage of the
> sendfile() call, which is very efficient.  Now if your file is a blob in a
> row of a database, you have to read it yourself in memory, and send it,
> don't you ?

SQLite has an API for opening handles to blobs, but you would have to
write something in C to work with it.
View raw message