Is there a maximum limit on the number of items that can be stored in a folder on Windows Server 2008?

We have a requirement to handle the ftp of hundreds of thousands of items to a folder and process the items in the folder. I've heard rumours that it is 5000 items. Anyone want to back this up with evidence? My google fu is failing me.

link|improve this question

78% accept rate
feedback

5 Answers

up vote 7 down vote accepted

See This link at Microsoft.

It suggests that there is no limit to the number of files in a given folder as long as the number of files on any given volume is not greater than 4,294,967,295 (on NTFS) the link gives much lower limits for FAT32.

link|improve this answer
feedback

Although this isn't an answer to your question, keep in mind that with many file systems performance will start to degrade if a directory has more than X files. In ext3 I think it around 30,000.

link|improve this answer
The common thing I've always heard (no evidence) is that for NTFS it's 10,000 before performance suffers. – kbyrd Jun 3 '09 at 13:10
I've had the 10,000 performance NTFS blues. We had some servers that had between 5,000-25,000 files and if you got to the 10,000 or more it was really slow. Under 10,000 it was fine. – Hondalex Jun 3 '09 at 19:10
feedback

I don't think there is a limit "per folder.". It should be the same as the absolute limit of files per NTFS volume: 2^32 - 1. It would require 512 byte sectors and a maximum file size limit of one file per sector.

Realistically you have to calculate a realistic average file size and then apply these principles to that file size. So, I wouldn't be preoccupied, I have seen folder with much more that 5000 files. But if you want to open such a folder in Windows Explorer, you could have to wait for minutes. Consider using command line tools for accessing that folder.

Here is an interesting link on Technet: How NTFS Works

link|improve this answer
Ok, so you type faster than I do :) Here's the page I was going to post. technet.microsoft.com/en-us/library/cc938937.aspx – squillman Jun 3 '09 at 13:13
feedback

NTFS: 4,294,967,295 (Wikipedia Entry)

link|improve this answer
feedback

Files per volume 2^32-1

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.