>- see footer for list info -< Yea, I have to admit the situation is far from ideal...
Rich On 1 July 2010 15:42, Snake <[email protected]> wrote: > >- see footer for list info -< > This will also be better for an overall performance basis. If you are > running windows 32bit then more than 64k files in a folder with have > drastic > performance issues as windows will have real issues reading and writing > from > this folder and you will probably never be able to open it in windows > explorer. Not sure what the effect is on other 32bit os's > 64bit can handle more files, but still so many in a folder is a bad idea > and > will still cause performance issues, this is why mail servers separates > files into different folders. > > Russ > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Rich Wild > Sent: 01 July 2010 15:02 > To: Coldfusion Development > Subject: Re: [CF-Dev] listing files in HUGE dirs > > >- see footer for list info -< > "Another thing to consider, do all these files *need* to be in the same > directory?" > > possibly not, they *could* be grouped into client subdirs (this is a large > site where 200+clients each have around 100 to 3000+ items each consisting > of 10 images). However, the boat's sailed on the site structure a long time > ago, and not sure the client would want to revisit it unless it becomes a > real problem (which it may well do in the fullness of time). > > Certainly worth considering though. > R > > On 1 July 2010 14:40, Peter Boughton <[email protected]> wrote: > > > >- see footer for list info -< > > Another thing to consider, do all these files *need* to be in the same > > directory? > > > > For example, if you're doing some form of archiving, you could use > > several sub-directories, and if you can divide the directories in a > > suitable way, you might only need to consider certain ones, which of > > course reduces the number of files you're looking at. > > > > > > Oh, and if you still occasionally need to consider all files together, > > some people might think sub-dirs make this more fiddly - but they > > don't; you can use the recursion flags ( <cfdirectory recurse ... /> > > or "dir \B \S" or "ls -1R" ) to grab all the files together. > > > > > > One more thought - depending how the files might get created, is it > > feasible to keep a seperate log of the information you need, which is > > calculated when the files are changed and/or with a scheduled task, > > and then you can just read a file/db entry to get it? > > > > Might not be viable options, just throwing some ideas about. :) > > > > _______________________________________________ > > > > For details on ALL mailing lists and for joining or leaving lists, go to > > http://list.cfdeveloper.co.uk/mailman/listinfo > > > > -- > > CFDeveloper Sponsors:- > > >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< > > >- Lists hosted by www.Gradwell.com -< > > >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help > -< > > > _______________________________________________ > > For details on ALL mailing lists and for joining or leaving lists, go to > http://list.cfdeveloper.co.uk/mailman/listinfo > > -- > CFDeveloper Sponsors:- > >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< > >- Lists hosted by www.Gradwell.com -< > >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -< > > > > _______________________________________________ > > For details on ALL mailing lists and for joining or leaving lists, go to > http://list.cfdeveloper.co.uk/mailman/listinfo > > -- > CFDeveloper Sponsors:- > >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< > >- Lists hosted by www.Gradwell.com -< > >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -< > _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
