in reply to Need directory scheme to store 400,000 images
One difference is that takes the prefix of a file name, allowing the suffix to be of arbitrary length:
This has the advantage of (1) having a uniform algorithm over all files to generate the file path and (2) being exapndable in your case to beyond 1_000_000 files.123.jpg -> /1/12/123.jpg 114884.jpg -> /1/11/114884.jpg
-Mark
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Need directory scheme to store 400,000 images
by fglock (Vicar) on Apr 12, 2004 at 20:46 UTC |