Large number of files...

L

Lionel

Hi,

I have to create a website with keywords to find pictures.
I will have more than 500.000 jpeg files.

I work with II6 on a windows server 2000.
Is it better to put the whole 500.000 files in the same directory, or is it
better to create for example 1000 directories with 500 files ?
Talking about performance, is there a better solution ?

Thanks !
 
T

Tampa.NET Koder

You could also expore the possibility of storing these images in a sql
server database.
This way you don't have to create all these directorie on the filesystem and
you can utilize sql servier indexing etc, and this could speed up your
searching ability.
 
I

IPGrunt

Hi,

I have to create a website with keywords to find pictures.
I will have more than 500.000 jpeg files.

I work with II6 on a windows server 2000.
Is it better to put the whole 500.000 files in the same directory, or is it
better to create for example 1000 directories with 500 files ?
Talking about performance, is there a better solution ?

Thanks !

I would imagine breaking up the index files might be a good idea, so
yes, I think you might consider using multiple folders.

-- ipgrunt
 
K

Kevin Spencer

It doesn't make any difference to your app. If it helps you, by all means.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top