zAlbee
Keeper of The Iron Tail
I'm setting up a database that can store user-uploaded files amongst other things. It's a PHP MySQL server. So I go to all this trouble to set everything up, with a BLOB field for the file, and varchars/ints for mime-type, filename, filesize, etc. Now I'm reading that some people think storing the file directly into the database is terrible for performance, and it would be better to store the file in a directory and just store the path in the database.
Maybe it is true, but I have never read about this "performance hit" in official documentation.
Any thoughts?
Maybe it is true, but I have never read about this "performance hit" in official documentation.
Any thoughts?