in reply to Images into MySQL database
To store binary data in a database you've got two hits:
- Reading the data from the database
- The database reading the data from the disk
The general solution employed is to have a pointer in the database pointing to your file in the filesystem.
Now what you have is a considerable reduction of data in the database which may easy be cached in memory, resulting in a performance increase.
Of course I'm generalising here, there are always exceptions.. :-)