Can anyone Tell me the standard way of keeping folder(folder structure ) for best performance of application.Right now i have 3000 folder under one folder.
You can save your documents in a yyyy/MM/dd folder structure based on date creation under your application rootpath, for example. This is estimating that you will add up to 1000 documents daily. If you have several thousands per day (+10k), you should create an addition hour directory (hh). This strategy is not valid if you plan to migrate 1M documents in two days for example, but it should be valid for a daily homogeneus distribution of created documents. This is more or less how Alfresco save the binaries in filesystem.
Other possibility is to create volume folders for each thousand of documents (00000, 00001, 00002...), instead of date creation based structures. In each volume, you should add no more than 1k documents. This strategy is valid even in the case of an initial massive creation.
Thanks for reply how much folder can we keep inside a folder?
A basic recomendation may be around 1k objects in a folder level (this includes folders and documents), and maximum 4-5 depth.
Retrieving data ...