Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: open
Now I use one table as index for all galleries holding a title, description, keyframe image name and image directory per gallery and for each gallery I have a table in which each row contains the names of the thumbnail and large image files and a caption.
con: slow (and i mean slow -- you're using InnoDB, right?) because you have to have an extra script to show a picture ... process generation, many more db-queries, big database (backup takes forever!)
files on server:
pro: very fast (nothing is faster than the webserver just sending a file)
con: not one backup, replication needs more work, data integrity isn't that easy to establish.
joined:Dec 10, 2005
[edited by: LifeinAsia at 3:28 pm (utc) on July 22, 2008]