Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
alanfox70 #1
Storing and displaying Images
I am trying to find out which one of following two (2) options is fastest and
most reliable in order to work with 100,000 images located in 100 folders:
Option 1: ?Storing the path of the image file on a database?
For this I would have a 4 columns table with 100,000 records to store the
100,000 paths of the images. I?d have to use "CFQUERY" and "IMG" to retrieve
the images
Option 2:?Storing only the folder names where the images are located? .
For this I would have a 2 columns table with 100 records to store the 100
folder names.
I?d have to use "CFQUERY" to get the folder names and "CFDIRECTORY" and "IMG"
to retrieve the images
Which Case according to your experience is the fastest and most reliable way
to serve images.
Your feedback will be very welcome
Thanks a lot!
alanfox70 Guest
-
Help displaying images
I am trying to display many pictures. I get all the file names in an array, cycle through the array creating image objects, then add them to the... -
displaying images
i am tying to display images dynamically on a product detail page based on a user selection on a page which displays a list of products. i am using... -
Storing Images in SQL Server - ASP storage and retrieve
I need some help, because I am utterly confused with how to do this. I have 2 things that I need to figure out, and could use some sample code or... -
ASP Displaying Images from within SQL DB
I've been searching and searching for this and there are lots of posts - but very few answers. I have a SQL2000 Database that has jpg images in a... -
Storing and Displaying source code through browser
Hi All, I am trying to build a web based application using ASP.NET that I can use to store and retrieve source code samples. The question I have... -
jdeline #2
Re: Storing and displaying Images
I would imagine the first option would be faster. Your database won't break a sweat dealing with 100,000 records. Be sure to establish the appropriate index(s) to speed up your SELECT.
jdeline Guest
-
alanfox70 #3
Re: Storing and displaying Images
jdeline,
Thank for your response.
But when a database starts getting slow? at 1,000,000 records? is it matter
how many users are pulling different queries from this table?
Thanks for your help!
alanfox70 Guest
-
PaulH #4
Re: Storing and displaying Images
your OS will start having troubles before the db will if you use option 1.
PaulH Guest
-
alanfox70 #5
Re: Storing and displaying Images
Paul,
so I guess you recommend option 2, right?
Let me know, thanks
alanfox70 Guest



Reply With Quote

