cancel
Showing results for 
Search instead for 
Did you mean: 

Is there still a limit on the amount of files in a folder?

miroslav
Star Contributor
Star Contributor

Hello,

Is there still a performance limit on the amount of files in a folder please? Is there any other limit on the number of files/folders and how deep they can be? What are the ways to work around this limit? I would like to use a Share and content-app UI.

Thank you!

1 ACCEPTED ANSWER

abhinavmishra14
World-Class Innovator
World-Class Innovator

There is no hard limit however, you may start seeing performance issue on share ui once number of files/folders are more than 1000+ in same folder. On the repo side recommended file/folders should not be more than 3000 in same folder. 

The recommended way to store files/folders is to store them in time-stamped structure. 

So instead of this:

Folder 1
  File1.1
  File 1.2
  ....
  .....
  ...
  File 1.1000
  ...
  ...
  File 1.2000
 

Store the files/folders like this (timestamped structure): 

Folder 1
   2022  <-- Year
     08    <-- Month
       17  <-- Day
         03 <-- Hour
           24 <-- Minute
             File 1.1
    ............

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

View answer in original post

3 REPLIES 3

abhinavmishra14
World-Class Innovator
World-Class Innovator

There is no hard limit however, you may start seeing performance issue on share ui once number of files/folders are more than 1000+ in same folder. On the repo side recommended file/folders should not be more than 3000 in same folder. 

The recommended way to store files/folders is to store them in time-stamped structure. 

So instead of this:

Folder 1
  File1.1
  File 1.2
  ....
  .....
  ...
  File 1.1000
  ...
  ...
  File 1.2000
 

Store the files/folders like this (timestamped structure): 

Folder 1
   2022  <-- Year
     08    <-- Month
       17  <-- Day
         03 <-- Hour
           24 <-- Minute
             File 1.1
    ............

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

Hi, sorry, is this an official statement from Alfresco? If not, is there any official statement from Alfresco?
I need to justify this, because some say 1000, some say 2000, some say 5000 and some say 10,000 - 20,000 in the forum.

Hi, there's no official statement. This because it depends on your use case and your hardware/resources.

The number of direct children affects performances every time you need to access that folder, especially with a not-admin user (as the repo needs to check the permissions on every node). If performances degrades too much, you will start hitting some timeout and errors.


Leo Mattioli - Technical Account Manager @Hyland.