> I would use filesystem if I need performance and if I don't worry about
> management.
> I would use database if I need to manage lots of them and if images have
> attributes.
>
> Some older databases have really poor performance when LOB is used. If it
is the
> case, you might want to use combination of these. (i.e. Use database for
> management and use filesystem to store files)
>
> > what's the difference between them, i mean for effectiveness and
performance
> > ?


We use the second model mentioned above.  Use the database to store paths
and file names, attributes and details of the files, but store the files on
the file-system.

Makes queries and searches simple (database calls), and only pull the data
fromt he file when needed.

The fact that the files happen to be gzipped to save disk usage is just a
side note..

bkx



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to