Putting 3 million pages in 1 folder vs. putting them in a number of sub-folders, which structure is

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:38 UTC
Read the original article Hit count: 138

If I have 3 million pages, which directory structure is better?

Method 1. ~/123456789.htm

(Putting all the 3 million pages into the same folder without any sub folders)

Method 2. ~/789/123456789.htm

(Create 999 sub-folders, each sub-folder contains about 3000 pages)

For Windows Server 2008, which folder structure is faster? (For file creation, reading and deletion)

© Stack Overflow or respective owner

Related posts about windows-server-2008

Related posts about filesystem