Hi,
As a Linux person I know that when too many files re in the same dir, say tens of thousands and above, performance of the file system is degraded. AFAIK, the way some applications overcome this limitation of file systems is by dividing the directory into subdirectories (and perhaps another level of devision) so that the performance problem is effectively going down by a good factor.
AFAIK the image module (and image_gallery, to our matter) stores its images in a single directory - files/images and to make matters "worst" - it creates (by default) two additional images for each image - thumbnail and preview.
My question is something I couldn't find info about on the web - what about image module and the above?... :-)
So, I wanted to ask i this matter is being taken care of, in any way (assuming I'm correct in the above assumptions) and if not, any suggestions on how to tackle it. I'm already having 1300 files on images dir and plan on having thousands of images on this web site (just a family web site... :-) )
Thanks!
Boaz.
Comments
Comment #1
underpressure commentedSUBSCRIBING
I too have about 1300 files and plan to have thousands more.
It would be great if every module that had to store files on the file has an option to created its own folder or use an existing one.
Comment #2
Hetta commentedUpload away, then create a directory structure, move your images there, and update the image paths in your files table to reflect the real structure.
(I like mysqldump for the files table update).
Works like a treat.
Comment #3
drewish commentedthis is really a duplicate of http://drupal.org/node/103793
Comment #4
doc2@drupalfr.org commentededit: mistake