How to store big amount files to disk? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

How to store big amount files to disk?

mk7mk7 Posts: 2Member
Hi,

example:

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?

Thanks!

Sign In or Register to comment.