Putting 3 million files in 1 folder vs. putting in sub-folders, which structure is faster for readin
Posted
by silent
on Stack Overflow
See other posts from Stack Overflow
or by silent
Published on 2010-05-05T04:15:56Z
Indexed on
2010/05/05
4:18 UTC
Read the original article
Hit count: 108
windows-server-2008
|filesystem
If I have 3 million files, which directory structure is better?
Method 1. ~/123456789.htm (Putting all the 3 million files into the same folder without any sub folders)
Method 2. ~/789/123456789.htm (Create 999 sub-folders, each sub-folder contains about 3000 files)
For Windows Server 2008, which structure is faster?
© Stack Overflow or respective owner