Questions

Any recommended limits on number of files in an NTFS directory?

Tags:
+
0 Votes
Locked

Any recommended limits on number of files in an NTFS directory?

dthury
I am working on a design of a file archiving system that could involve several hundred thousand files, on a W2K Server hard disk formated with NTFS.

Are there any recommendations regarding the maximum number of files/folders within a directory? I envision distributing these files across multiple folders (20-30 for example --> meaning ~10,000 files per folder). Is this reasonable, or extreme?

Any recommendations for documentation that may describe the impact of folders approaching this number of files?

Thanks,
Denny
  • +
    0 Votes
    pfarrell

    You should never design a system to have more than a thousand files per folder. Windows computers can handle more, but performance severely downgrades at somewhere around 7500 files in a folder. Also, users will have a hard time manually traversing a file structure with some many files per folder.

    +
    0 Votes
    TonytheTiger

    is the length limits. Filenames can be up to 255 characters, but path and file combined can only be 260 characters (you can get around the path part by using Subst or 'net use' and setting a drive letter farther down in the directory structure).

    +
    0 Votes
    csharbor

    We experience sluggishness in our office of 20-40 concurrent users when the file count exceeds 6000-10,000. Our developer seems to think we are crazy but I think that they are ignoring obvious limits of the OS. Any expert advice regarding other's experience would be most appreciated in resolving this difference of opinion.

  • +
    0 Votes
    pfarrell

    You should never design a system to have more than a thousand files per folder. Windows computers can handle more, but performance severely downgrades at somewhere around 7500 files in a folder. Also, users will have a hard time manually traversing a file structure with some many files per folder.

    +
    0 Votes
    TonytheTiger

    is the length limits. Filenames can be up to 255 characters, but path and file combined can only be 260 characters (you can get around the path part by using Subst or 'net use' and setting a drive letter farther down in the directory structure).

    +
    0 Votes
    csharbor

    We experience sluggishness in our office of 20-40 concurrent users when the file count exceeds 6000-10,000. Our developer seems to think we are crazy but I think that they are ignoring obvious limits of the OS. Any expert advice regarding other's experience would be most appreciated in resolving this difference of opinion.