Hi,
I'm planning on building a database for storage of photo images as part of a small system I'm writing. I have a 2 parter question. First, of MySQL and PostgreSQL, would either of them lend themselves better to this type of usage? And second, I'm wondering if it is better to actually store the images in the database (say, 5,000 and up, and could be fairly large image sizes), or instead, use the database to store descriptive information and search terms while actually storing the images themselves as separate files.

Any thoughts would be appreciated. Thanks.