#2 Oct 04, 2005 00:03
Using a database to store images adds software layers to access the image data. The new software layer here is the database itself. Obviously, there are some cache systems on databases, but there are also on file systems, so loading an image from the database would use both caches, each one being independant. In other words, including image files in databases is probably more CPU, memory and disk intensive than just using simple files.
I can understand there are reasons where it is more interesting to use database than simple files. After all, using two systems for data management might become difficult to maintain on large databases. However, I believe using files is more interesting from the performance point of view.