Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
How to store big amount files to disk?
I'd like to save 1 000 000 files to disk.
What is better:
A. To save all files (one milion) in same directory.
B. To create 1000 directories and in each of them then save 1000 files. (1000 x 1000 = 1 000 000)
Is B soluton better regarding performance?
Is there any better solution?
Where is the limit how much files can contain single folder?
0 · ·