Is it good to upload images and other files to database rather than storing it in a folder.
Will this affect the performance of mysql server?
Which one is best to use?
Uploading image and files to MYSQL Database?
Moderator: General Moderators
-
rajsekar2u
- Forum Commoner
- Posts: 71
- Joined: Thu Nov 20, 2008 4:23 am
Re: Uploading image and files to MYSQL Database?
In most circumstances it is probably best to store images in a folder, with paths stored in the database. There are several circumstances that might convince you to just store the images in the table, though. If there are only a small number of images, or the images are quite small, the performance would probably not be impacted. At least that has been my experience.