![]() |
Pictures in MySQL database ?
I heard it wasn't really reliable ?
What are your thoughts on the subject ? |
Just store the location of the image in your db.
|
Nah I need to have quick access to the files since I'll have to process thousand of them.
|
Sounds like you've already made up your mind... but if your gonna do it then store them in a seperate table on their own.
|
I'm considering storing them on a FTP too. Whould be cleaner in DB...
Why should I store them in a separate table ? (sounds like a good idea though) |
Quote:
|
You want to store the DATA of an image in a MySQL database?
Why?! Store it on disk and store the location of it in a table. |
Quote:
|
Quote:
|
Quote:
|
it's very possible, I've done it on a few of my sites.
Just stick it in the blob structure, and use php's great tmp_file procedure! |
Never ever use MySQL for storing pics any database expert will tell you this
it affects performance greatly especially if you need mysql for other things besides a pic server |
On one site, I use X-cart as a shopping cart ( about 300 products ). The default option is to store the images in the DB...
Tried both and it was more reliable and a tandy faster with images in DB. :2 cents: |
All times are GMT -7. The time now is 07:06 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123