You are here: Re: 1 - 2 millions files in one folder? « PHP Programming Language « IT news, forums, messages
Re: 1 - 2 millions files in one folder?

Posted by Chung Leong on 07/27/06 20:14

Miguel Cruz wrote:
> No (depends on the filesystem but in general no).
>
> However, with many filesystems the search time will get really bad when
> you have so many files in one folder.
>
> Instead you can make a little hash structure, it's easy to do and will
> provide you a significant performance boost.

I wonder if it wouldn't be easier to create a ReiserFS volume and mount
the directory on it. I haven't use it myself but I've read that you can
gain an order of magnitude improvement in performance over ext2 when
you have lots of small files.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация