On Tuesday 23 July 2002 11:09, eat pasta type fasta wrote:
> I'm using mysql to hold references to image files then served on my pages
> via PHP.
> I have typically a set of two files:
> thumb and a large original, on occasion there is also a variant inreasing
> the set to 3 per image
> currently I am holding all of the files in 1 directory since the DB can
> keep track of them, however their number has grown to over 400 at this
> point
> my issue is whether it would be worth it (performance wise) to split them
> into thumbs and works thus having 200+ files per directory as opposed to
> so many, I am expecting the number of images to double in the future.

Nothing to do with PHP and everything to do with the OS. FWIW 20K files in one 
directory on Linux is slow.

Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

Yow!  Are we wet yet?

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to