Link to home
Start Free TrialLog in
Avatar of p19wso
p19wso

asked on

images: best to store as a file or in the db?

Is it best to store images in a Database?
or is it quicker just simply to keep them as files??

The file upload takes long enough as it is, is there
not yet a further delay when you upload it again to
the database?

ASKER CERTIFIED SOLUTION
Avatar of domainwalker
domainwalker

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of spanky302
spanky302

Yeah. I would only put text into a database. Otherwise it may get too big, and db's weren't made to hold binary data.
3. agreement on using the filesystem.
the server may then use the file-cache and your DB isn't blown up with the BLOBs and in case you delete them needs to defragmented (maybe)
Why is this still open?
Should it be abandoned?
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.  I will leave the following recommendation for this question in the Cleanup topic area:

- Accept domainwalker’s comment as answer

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

shamstar
EE Cleanup Volunteer