SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot Darren Lewis's Avatar
    Join Date
    Jul 2002
    Location
    UK
    Posts
    172
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Max number of files in a folder.

    Realistically, what's the max number of files one should store in a folder, before splitting into subfolders.

    I want to store images in a folder (rather than in the MySQL database).

    Thanks.
    Censura - Add reviews and ratings to your site

  2. #2
    SitePoint Wizard silver trophy
    beley's Avatar
    Join Date
    May 2001
    Location
    LaGrange, Georgia
    Posts
    6,117
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Do you want to know the computer's limits or just what good practice would be? Theoretically, you can fit as many files into a folder as you have room left on your disk... but that may not be the best thing to do.

    I would say if you are going to break them into several sub-categories and sub-sub-categories I would pick a low number such as 100-200 pictures... but there's no limitation that I know about on the hardware/software side.

  3. #3
    SitePoint Addict -TheDarkEye-'s Avatar
    Join Date
    Mar 2001
    Location
    canada
    Posts
    286
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it really depends on the file system you are using, how you wish to use the files, and how fast your server and its disks are.

    assuming you arent still running on something from the pentium era, i would say ~10,000 files is an acceptable range before you need to start thinking about doing some organization. of course, if you know you are going to need to do this eventually, you would be much better off setting everything up now.


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
  •