SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    Non-Member
    Join Date
    Jan 2003
    Posts
    866
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Max # of files per directory?

    I've seen mention in a couple places that it is not good to have a huge number of files in one directory. One of these places was a Web host who said that for effective backups - its best to not have more than a couple thousand files in a directory.

    Anyone have more info on this? Is there a number that can be used as a guideline for max files per directory? Or does it even really matter at all?

  2. #2
    SitePoint Enthusiast
    Join Date
    Feb 2004
    Location
    France
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by techmonkey
    Anyone have more info on this? Is there a number that can be used as a guideline for max files per directory? Or does it even really matter at all?
    It really depends of the operating system (and the underlying filesystem choosen). Some start to slow down at 500 files, others will handle 10000 files without much problem.

  3. #3
    Phil fillup07's Avatar
    Join Date
    May 2002
    Location
    Jacksonville, FL
    Posts
    1,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, does anyone know a good estimate for some of the most common os's?

  4. #4
    SitePoint Member
    Join Date
    Apr 2004
    Location
    Dallas, GA
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm unsure of reasons of database purposes but I have over 22,000 dll files on my web server here at the house which are all in a single directory. They are all dll files that you find when you search on http://dll.webzila.com. However, opening that folder takes a few seconds longer than normal

    Hope this is helpful information.

  5. #5
    SitePoint Enthusiast
    Join Date
    Feb 2004
    Location
    France
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have a folder in Windows with a few 1000s subfolders and it takes forever to process


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •