Hi Steve & *:

Based on my experience, not only for MySQL, but any Database, I think it's
better to keep just links to images instead of keep them in the database.

Some of the reasons are, for example, when you need to update an image,
you don't need to touch the database, only change the file. Another one
would be if you try to move to another Database and it does not support
those types, then you won't be able to keep your images in the database.

One more... In a heavy traffic site or environment it would be faster and
more efficient to serve the images directly from the file system than from
the database having several users connected at the same time.

Anyway, there is not a solution that is better than the other. It all
depends on what you want to do, how you want to do it, and the
environment, specifications and resources that you have.


Luis R. Sales Glez.
Database Administrator
Information Systems & Solutions
Sony Latin America Inc.

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to